convert one freshly introduced DBG_ERRORFILE to SAL_WARN

This commit is contained in:
Eike Rathke 2012-01-18 14:05:54 +01:00
parent 923934d0f4
commit 1de8ddb72e

View file

@ -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);
}