Kaydet (Commit) 340775da authored tarafından Noel Grandin's avatar Noel Grandin

fix conversion to OUString in filedlghelper.cxx

in commit c82d9325
"convert remnants of String to OUString in SFX2 module"
when I created the SetToken method, I forgot to make the first
parameter a reference.

Change-Id: Id587e69ff0cdf46f645d8f9d1dc0e110ae80daa5
üst 0bca1519
...@@ -1902,7 +1902,7 @@ void FileDialogHelper_Impl::addGraphicFilter() ...@@ -1902,7 +1902,7 @@ void FileDialogHelper_Impl::addGraphicFilter()
#define GRF_CONFIG_STR " " #define GRF_CONFIG_STR " "
#define STD_CONFIG_STR "1 " #define STD_CONFIG_STR "1 "
static void SetToken( OUString rOrigStr, sal_Int32 nToken, sal_Unicode cTok, const OUString& rStr) static void SetToken( OUString& rOrigStr, sal_Int32 nToken, sal_Unicode cTok, const OUString& rStr)
{ {
const sal_Unicode* pStr = rOrigStr.getStr(); const sal_Unicode* pStr = rOrigStr.getStr();
sal_Int32 nLen = rOrigStr.getLength(); sal_Int32 nLen = rOrigStr.getLength();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment