[Libreoffice-commits] .: svtools/source

Stephan Bergmann sbergmann at kemper.freedesktop.org
Mon Jan 16 07:01:34 PST 2012


 svtools/source/control/calendar.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e770d5300054d56545bba3c16635a14e92fde807
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Jan 16 16:01:25 2012 +0100

    Fix #ifdef SAL_LOG_INFO region.

diff --git a/svtools/source/control/calendar.cxx b/svtools/source/control/calendar.cxx
index 0cf3041..0b291e0 100644
--- a/svtools/source/control/calendar.cxx
+++ b/svtools/source/control/calendar.cxx
@@ -217,10 +217,10 @@ void Calendar::ImplInit( WinBits nWinStyle )
     {
 #ifdef SAL_LOG_INFO
         lang::Locale aLoc( Application::GetAppLocaleDataWrapper().getLocale() );
-#endif
         SAL_INFO( "svtools", "Calendar::ImplInit: No ``gregorian'' calendar available for locale ``"
             << aLoc.Language << "-" << aLoc.Country
             << "'' and other calendars aren't supported. Using en-US fallback." );
+#endif
 
         /* If we ever wanted to support other calendars than Gregorian a lot of
          * rewrite would be necessary to internally replace use of class Date


More information about the Libreoffice-commits mailing list