Kaydet (Commit) 5ea8a48a authored tarafından Thomas Arnhold's avatar Thomas Arnhold Kaydeden (comit) Fridrich Strba

clean up DBG_ERRORn

Those were DBG_ERRORn before and were falsely changed to OSL_TRACE by me.

See:
1707a350
533f89e4

Change-Id: I4f4188ba25b988128a539542f49797ea6985702e
Reviewed-on: https://gerrit.libreoffice.org/2900Reviewed-by: 's avatarFridrich Strba <fridrich@documentfoundation.org>
Tested-by: 's avatarFridrich Strba <fridrich@documentfoundation.org>
üst 1f393e01
...@@ -2417,8 +2417,7 @@ void ChartExport::exportDataPoints( ...@@ -2417,8 +2417,7 @@ void ChartExport::exportDataPoints(
catch( const uno::Exception & rEx ) catch( const uno::Exception & rEx )
{ {
(void)rEx; // avoid warning for pro build (void)rEx; // avoid warning for pro build
OSL_TRACE( "Exception caught during Export of data point: %s", SAL_WARN( "oox", "Exception caught during Export of data point: " << rEx.Message );
OUStringToOString( rEx.Message, RTL_TEXTENCODING_ASCII_US ).getStr() );
} }
} }
else else
......
...@@ -195,6 +195,7 @@ certain functionality. ...@@ -195,6 +195,7 @@ certain functionality.
@li @c tools.debug @li @c tools.debug
@li @c tools.datetime @li @c tools.datetime
@li @c tools.generic
@li @c tools.memtools @li @c tools.memtools
@li @c tools.rc - resource manager @li @c tools.rc - resource manager
@li @c tools.stream - SvStream class @li @c tools.stream - SvStream class
......
...@@ -537,15 +537,8 @@ static void ImplReadConfig( ImplConfigData* pData ) ...@@ -537,15 +537,8 @@ static void ImplReadConfig( ImplConfigData* pData )
static void ImplWriteConfig( ImplConfigData* pData ) static void ImplWriteConfig( ImplConfigData* pData )
{ {
#ifdef DBG_UTIL SAL_WARN_IF( pData->mnTimeStamp != ImplSysGetConfigTimeStamp( pData->maFileName ),
if ( DbgIsAssert() ) "tools.generic", "Config overwrites modified configfile: " << pData->maFileName );
{
if ( pData->mnTimeStamp != ImplSysGetConfigTimeStamp( pData->maFileName ) )
{
OSL_TRACE( "Config overwrites modified configfile:\n %s", rtl::OUStringToOString(pData->maFileName, RTL_TEXTENCODING_UTF8).getStr() );
}
}
#endif
// Read config list from buffer // Read config list from buffer
sal_uIntPtr nBufLen; sal_uIntPtr nBufLen;
......
...@@ -264,7 +264,7 @@ void Accelerator::ImplInsertAccel( sal_uInt16 nItemId, const KeyCode& rKeyCode, ...@@ -264,7 +264,7 @@ void Accelerator::ImplInsertAccel( sal_uInt16 nItemId, const KeyCode& rKeyCode,
} }
else if ( !mpData->maKeyMap.insert( std::make_pair( nCode, pEntry ) ).second ) else if ( !mpData->maKeyMap.insert( std::make_pair( nCode, pEntry ) ).second )
{ {
OSL_TRACE( "Accelerator::InsertItem(): KeyCode (Key: %lx) already exists", nCode ); SAL_WARN( "vcl.layout", "Accelerator::InsertItem(): KeyCode (Key: " << nCode << ") already exists" );
delete pEntry; delete pEntry;
} }
else else
......
...@@ -2661,7 +2661,7 @@ long ImplWindowFrameProc( Window* pWindow, SalFrame* /*pFrame*/, ...@@ -2661,7 +2661,7 @@ long ImplWindowFrameProc( Window* pWindow, SalFrame* /*pFrame*/,
break; break;
#ifdef DBG_UTIL #ifdef DBG_UTIL
default: default:
OSL_TRACE( "ImplWindowFrameProc(): unknown event (%lu)", (sal_uLong)nEvent ); SAL_WARN( "vcl.layout", "ImplWindowFrameProc(): unknown event (" << nEvent << ")" );
break; break;
#endif #endif
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment