[Libreoffice-commits] .: i18npool/source

Kohei Yoshida kohei at kemper.freedesktop.org
Thu Feb 24 22:54:10 PST 2011


 i18npool/source/calendar/calendarImpl.cxx       |    5 ++++-
 i18npool/source/calendar/calendar_gregorian.cxx |    5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

New commits:
commit 89fa357a5ba909b537b3724cfec8d9c91bfd2422
Author: Kohei Yoshida <kyoshida at novell.com>
Date:   Fri Feb 25 01:52:11 2011 -0500

    Use real namespace scopes. The old scheme screwed up context tagging.

diff --git a/i18npool/source/calendar/calendarImpl.cxx b/i18npool/source/calendar/calendarImpl.cxx
index 714fdcb..aecbbff 100644
--- a/i18npool/source/calendar/calendarImpl.cxx
+++ b/i18npool/source/calendar/calendarImpl.cxx
@@ -35,9 +35,10 @@
 
 using namespace ::com::sun::star::uno;
 using namespace ::com::sun::star::lang;
-using namespace ::com::sun::star::i18n;
 using namespace ::rtl;
 
+namespace com { namespace sun { namespace star { namespace i18n {
+
 #define ERROR RuntimeException()
 
 CalendarImpl::CalendarImpl(const Reference< XMultiServiceFactory > &rxMSF) : xMSF(rxMSF)
@@ -323,4 +324,6 @@ CalendarImpl::getSupportedServiceNames(void) throw( RuntimeException )
     return aRet;
 }
 
+}}}}
+
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/i18npool/source/calendar/calendar_gregorian.cxx b/i18npool/source/calendar/calendar_gregorian.cxx
index 85d03b4..28f7399 100644
--- a/i18npool/source/calendar/calendar_gregorian.cxx
+++ b/i18npool/source/calendar/calendar_gregorian.cxx
@@ -129,9 +129,10 @@ static void debug_i18n_cal_dump( const ::icu::Calendar & r )
 
 using namespace ::com::sun::star::uno;
 using namespace ::com::sun::star::lang;
-using namespace ::com::sun::star::i18n;
 using namespace ::rtl;
 
+namespace com { namespace sun { namespace star { namespace i18n {
+
 #define ERROR RuntimeException()
 
 Calendar_gregorian::Calendar_gregorian()
@@ -1086,4 +1087,6 @@ Calendar_gregorian::getSupportedServiceNames(void) throw( RuntimeException )
         return aRet;
 }
 
+}}}}
+
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list