summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-10-01 13:07:22 +0200
committerNoel Grandin <noel@peralex.com>2013-10-01 13:08:25 +0200
commit340775da21f69a6a2f2c573d983a6f0957aa8ec4 (patch)
tree174e895cd4820b7569237ae769b5e1edf0103402 /sfx2
parent0bca15197461f9e0c6f28ce301c2fed2ec4b38cb (diff)
fix conversion to OUString in filedlghelper.cxx
in commit c82d932510c88a12b260b1684522efbc69f07b26 "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
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/dialog/filedlghelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/dialog/filedlghelper.cxx b/sfx2/source/dialog/filedlghelper.cxx
index a8479732382d..49d175f40e10 100644
--- a/sfx2/source/dialog/filedlghelper.cxx
+++ b/sfx2/source/dialog/filedlghelper.cxx
@@ -1902,7 +1902,7 @@ void FileDialogHelper_Impl::addGraphicFilter()
#define GRF_CONFIG_STR " "
#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();
sal_Int32 nLen = rOrigStr.getLength();