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

Arnaud Versini arnaud.versini at gmail.com
Sun Jun 12 12:19:18 UTC 2016


 vcl/source/helper/strhelper.cxx |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

New commits:
commit 52a115fad6a4121f659fd029c9fd9102b6faa9ee
Author: Arnaud Versini <arnaud.versini at gmail.com>
Date:   Sun Jun 12 13:05:47 2016 +0200

    VCL: Move local methods to anonymous namespace
    
    Change-Id: Iac31e2653c40ff118e319ecf3ee14da91152f65e
    Reviewed-on: https://gerrit.libreoffice.org/26193
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Arnaud Versini <arnaud.versini at libreoffice.org>

diff --git a/vcl/source/helper/strhelper.cxx b/vcl/source/helper/strhelper.cxx
index f876133..545f30c 100644
--- a/vcl/source/helper/strhelper.cxx
+++ b/vcl/source/helper/strhelper.cxx
@@ -20,7 +20,7 @@
 #include <vcl/strhelper.hxx>
 #include "sal/alloca.h"
 
-namespace psp {
+namespace  {
 
 inline bool isSpace( sal_Unicode cChar )
 {
@@ -97,6 +97,10 @@ inline void CopyUntil( sal_Unicode*& pTo, const sal_Unicode*& pFrom, sal_Unicode
         pFrom++;
 }
 
+}
+
+namespace psp {
+
 OUString GetCommandLineToken( int nToken, const OUString& rLine )
 {
     sal_Int32 nLen = rLine.getLength();


More information about the Libreoffice-commits mailing list