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

Stephan Bergmann sbergman at redhat.com
Mon Jan 5 05:02:55 PST 2015


 cppu/source/uno/lbenv.cxx |   12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

New commits:
commit f76f40560ef49c3da864073285ebe6b9a0cfad5f
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Jan 5 14:02:27 2015 +0100

    More unnamed namespace clean-up
    
    Change-Id: Iaba8b9b3415c357990b795b6f23b98929ac5e00a

diff --git a/cppu/source/uno/lbenv.cxx b/cppu/source/uno/lbenv.cxx
index f9f1107..e8fa57d 100644
--- a/cppu/source/uno/lbenv.cxx
+++ b/cppu/source/uno/lbenv.cxx
@@ -133,11 +133,7 @@ struct EnvironmentsData
     bool isDisposing;
 };
 
-namespace
-{
-    struct theEnvironmentsData : public rtl::Static< EnvironmentsData, theEnvironmentsData > {};
-}
-
+struct theEnvironmentsData : public rtl::Static< EnvironmentsData, theEnvironmentsData > {};
 
 struct uno_DefaultEnvironment : public uno_ExtEnvironment
 {
@@ -696,6 +692,7 @@ static void writeLine(
     writeLine( stream, aLine.getStr(), pFilter );
 }
 
+}
 
 extern "C" void SAL_CALL uno_dumpEnvironment(
     void * stream, uno_Environment * pEnv, const sal_Char * pFilter )
@@ -839,14 +836,14 @@ namespace
     };
 
     class theStaticOIdPart : public rtl::Static<makeOIdPart, theStaticOIdPart> {};
-}
-
 
 inline static const OUString & unoenv_getStaticOIdPart()
 {
     return theStaticOIdPart::get().getOIdPart();
 }
 
+}
+
 extern "C"
 {
 
@@ -902,6 +899,7 @@ static void SAL_CALL unoenv_releaseInterface(
 }
 }
 
+namespace {
 
 EnvironmentsData::~EnvironmentsData()
 {


More information about the Libreoffice-commits mailing list