diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-03-21 10:19:50 +0100 |
---|---|---|
committer | Fridrich Strba <fridrich@documentfoundation.org> | 2013-03-22 17:25:40 +0000 |
commit | 5ea8a48a3b26ac326ea5fe4a637a2d9b59cd2b94 (patch) | |
tree | 4f6ab9da621101e5e8d9dc22656700f14939ef7b /tools | |
parent | For convenience, include config_global.h in sal/config.h (diff) | |
download | core-5ea8a48a3b26ac326ea5fe4a637a2d9b59cd2b94.tar.gz core-5ea8a48a3b26ac326ea5fe4a637a2d9b59cd2b94.zip |
clean up DBG_ERRORn
Those were DBG_ERRORn before and were falsely changed to OSL_TRACE by me.
See:
1707a350af8a0909ae88c2b11deb714f8b2a93ff
533f89e49395bbc31baaab9ade46db934b383e14
Change-Id: I4f4188ba25b988128a539542f49797ea6985702e
Reviewed-on: https://gerrit.libreoffice.org/2900
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/generic/config.cxx | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/tools/source/generic/config.cxx b/tools/source/generic/config.cxx index 9d2d284defb8..dac13f01b863 100644 --- a/tools/source/generic/config.cxx +++ b/tools/source/generic/config.cxx @@ -537,15 +537,8 @@ static void ImplReadConfig( ImplConfigData* pData ) static void ImplWriteConfig( ImplConfigData* pData ) { -#ifdef DBG_UTIL - if ( DbgIsAssert() ) - { - if ( pData->mnTimeStamp != ImplSysGetConfigTimeStamp( pData->maFileName ) ) - { - OSL_TRACE( "Config overwrites modified configfile:\n %s", rtl::OUStringToOString(pData->maFileName, RTL_TEXTENCODING_UTF8).getStr() ); - } - } -#endif + SAL_WARN_IF( pData->mnTimeStamp != ImplSysGetConfigTimeStamp( pData->maFileName ), + "tools.generic", "Config overwrites modified configfile: " << pData->maFileName ); // Read config list from buffer sal_uIntPtr nBufLen; |