[Libreoffice-commits] .: writerfilter/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Oct 10 04:07:17 PDT 2012


 writerfilter/source/dmapper/ConversionHelper.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 7476fa6ec224824ff07d9daec4852a7c4bf8ad93
Author: Miklos Vajna <vmiklos at suse.cz>
Date:   Wed Oct 10 13:05:59 2012 +0200

    writerfilter: these can be static in ConversionHelper
    
    Change-Id: I2436a884627c4f9b112086cb7ca1a096093ea3f6

diff --git a/writerfilter/source/dmapper/ConversionHelper.cxx b/writerfilter/source/dmapper/ConversionHelper.cxx
index 40ea9bd..88c9372 100644
--- a/writerfilter/source/dmapper/ConversionHelper.cxx
+++ b/writerfilter/source/dmapper/ConversionHelper.cxx
@@ -147,6 +147,7 @@ void MakeBorderLine( sal_Int32 nLineThickness,   sal_Int32 nLineType,
     rToFill.Color = nLineColor;
 }
 
+namespace {
 void lcl_SwapQuotesInField(OUString &rFmt)
 {
     //Swap unescaped " and ' with ' and "
@@ -172,6 +173,7 @@ bool lcl_IsNotAM(OUString& rFmt, sal_Int32 nPos)
             )
         );
 }
+}
 
 OUString ConvertMSFormatStringToSO(
         const OUString& rFormat, lang::Locale& rLocale, bool bHijri)


More information about the Libreoffice-commits mailing list