[Libreoffice-commits] core.git: sfx2/source

Noel Grandin noel at peralex.com
Tue Oct 1 04:08:54 PDT 2013


 sfx2/source/dialog/filedlghelper.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 340775da21f69a6a2f2c573d983a6f0957aa8ec4
Author: Noel Grandin <noel at peralex.com>
Date:   Tue Oct 1 13:07:22 2013 +0200

    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

diff --git a/sfx2/source/dialog/filedlghelper.cxx b/sfx2/source/dialog/filedlghelper.cxx
index a847973..49d175f 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();


More information about the Libreoffice-commits mailing list