diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-12 14:30:57 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-13 16:50:44 +0100 |
commit | 6099c5b1139bb0e10d0da831bd21e050a2a65f02 (patch) | |
tree | 246f8fd35fda25b7d4ed027f61ea0c623ce58517 /sfx2/source/appl/appcfg.cxx | |
parent | Move OSL_ENSURE(false,...) to OSL_FAIL(...) (diff) | |
download | core-6099c5b1139bb0e10d0da831bd21e050a2a65f02.tar.gz core-6099c5b1139bb0e10d0da831bd21e050a2a65f02.zip |
OSL_TRACE: Use format string for GetBuffer()
Diffstat (limited to 'sfx2/source/appl/appcfg.cxx')
-rw-r--r-- | sfx2/source/appl/appcfg.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/appl/appcfg.cxx b/sfx2/source/appl/appcfg.cxx index bfe35837a2f6..48b76959a18a 100644 --- a/sfx2/source/appl/appcfg.cxx +++ b/sfx2/source/appl/appcfg.cxx @@ -155,7 +155,7 @@ IMPL_LINK(SfxEventAsyncer_Impl, TimerHdl, Timer*, pAsyncTimer) { ByteString aTmp( "SfxEvent: "); aTmp += ByteString( String( aHint.GetEventName() ), RTL_TEXTENCODING_UTF8 ); - OSL_TRACE( aTmp.GetBuffer() ); + OSL_TRACE( "%s", aTmp.GetBuffer() ); } #endif SFX_APP()->Broadcast( aHint ); @@ -1007,7 +1007,7 @@ void SfxApplication::NotifyEvent( const SfxEventHint& rEventHint, bool bSynchron { ByteString aTmp( "SfxEvent: "); aTmp += ByteString( String( rEventHint.GetEventName() ), RTL_TEXTENCODING_UTF8 ); - OSL_TRACE( aTmp.GetBuffer() ); + OSL_TRACE( "%s", aTmp.GetBuffer() ); } #endif Broadcast(rEventHint); |