diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2011-02-25 02:17:38 -0500 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2011-02-25 02:17:38 -0500 |
commit | e4ae5a532df17fa45afce2777e3b256cbe00a9a3 (patch) | |
tree | 63c9fd3658f21459e03cd03796d276d372cdd9fc /i18npool/source/calendar | |
parent | af77c13c6f64a531964028a785cb938a7fbd143e (diff) |
More on using real namespace scopes.
Diffstat (limited to 'i18npool/source/calendar')
-rw-r--r-- | i18npool/source/calendar/calendar_hijri.cxx | 6 | ||||
-rw-r--r-- | i18npool/source/calendar/calendar_jewish.cxx | 7 |
2 files changed, 9 insertions, 4 deletions
diff --git a/i18npool/source/calendar/calendar_hijri.cxx b/i18npool/source/calendar/calendar_hijri.cxx index 5d14946b3688..4921c90f2223 100644 --- a/i18npool/source/calendar/calendar_hijri.cxx +++ b/i18npool/source/calendar/calendar_hijri.cxx @@ -36,13 +36,13 @@ using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; -using namespace ::com::sun::star::i18n; -using namespace ::rtl; #define ERROR RuntimeException() #define GREGORIAN_CROSSOVER 2299161 +namespace com { namespace sun { namespace star { namespace i18n { + // not used //static UErrorCode status; // status is shared in all calls to Calendar, it has to be reset for each call. @@ -341,4 +341,6 @@ Calendar_hijri::getJulianDay(sal_Int32 day, sal_Int32 month, sal_Int32 year) return (double) intgr; } +}}}} + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/i18npool/source/calendar/calendar_jewish.cxx b/i18npool/source/calendar/calendar_jewish.cxx index 79f50ab9ff9c..24011d10a779 100644 --- a/i18npool/source/calendar/calendar_jewish.cxx +++ b/i18npool/source/calendar/calendar_jewish.cxx @@ -36,11 +36,12 @@ using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; -using namespace ::com::sun::star::i18n; -using namespace ::rtl; +using ::rtl::OUString; #define ERROR RuntimeException() +namespace com { namespace sun { namespace star { namespace i18n { + // not used //static UErrorCode status; // status is shared in all calls to Calendar, it has to be reset for each call. @@ -306,4 +307,6 @@ Calendar_jewish::getDisplayString( sal_Int32 nCalendarDisplayCode, sal_Int16 nNa return Calendar_gregorian::getDisplayString(nCalendarDisplayCode, nNativeNumberMode ); } +}}}} + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |