summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2012-01-18 14:05:54 +0100
committerEike Rathke <erack@redhat.com>2012-01-18 14:05:54 +0100
commit1de8ddb72e6a1bc75f3e70b0024c940098948a4f (patch)
tree2e3ec09584a821c27922157b84c23e397dcb0d39 /unotools
parent923934d0f41b5b54c9aa4491958cd1939779902d (diff)
convert one freshly introduced DBG_ERRORFILE to SAL_WARN
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/i18n/localedatawrapper.cxx10
1 files changed, 2 insertions, 8 deletions
diff --git a/unotools/source/i18n/localedatawrapper.cxx b/unotools/source/i18n/localedatawrapper.cxx
index ed95598db756..2e8ebf7619c6 100644
--- a/unotools/source/i18n/localedatawrapper.cxx
+++ b/unotools/source/i18n/localedatawrapper.cxx
@@ -1900,15 +1900,9 @@ void LocaleDataWrapper::evaluateLocaleDataChecking()
if ( xLD.is() )
return xLD->getDateAcceptancePatterns( getLocale() );
}
- catch ( Exception& e )
+ catch (const Exception& e)
{
-#ifdef DBG_UTIL
- rtl::OStringBuffer aMsg("getDateAcceptancePatterns: Exception caught\n");
- aMsg.append(rtl::OUStringToOString(e.Message, RTL_TEXTENCODING_UTF8));
- DBG_ERRORFILE(aMsg.getStr());
-#else
- (void)e;
-#endif
+ SAL_WARN( "unotools.i18n", "getDateAcceptancePatterns: Exception caught " << e.Message );
}
return ::com::sun::star::uno::Sequence< ::rtl::OUString >(0);
}