From 340775da21f69a6a2f2c573d983a6f0957aa8ec4 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 1 Oct 2013 13:07:22 +0200 Subject: 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 --- sfx2/source/dialog/filedlghelper.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sfx2') 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(); -- cgit