diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-12 12:35:09 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-12 14:12:12 +0100 |
commit | aedd92ffa94b98ca9fc8147eb45158df92de14ff (patch) | |
tree | 6563042f667b8b73b54df7daae2e3809c61f366b /forms | |
parent | d712a6de3105e1369baef1562c5ca0442469cdac (diff) |
OSL_TRACE: Use format string
Diffstat (limited to 'forms')
-rw-r--r-- | forms/source/richtext/richtextcontrol.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/forms/source/richtext/richtextcontrol.cxx b/forms/source/richtext/richtextcontrol.cxx index f70f31153..22cca47f3 100644 --- a/forms/source/richtext/richtextcontrol.cxx +++ b/forms/source/richtext/richtextcontrol.cxx @@ -633,7 +633,7 @@ namespace frm #if OSL_DEBUG_LEVEL > 0 ::rtl::OString sTrace( "ORichTextPeer::implCreateDispatcher: creating *parametrized* dispatcher for " ); sTrace += ::rtl::OString( _rURL.Complete.getStr(), _rURL.Complete.getLength(), RTL_TEXTENCODING_ASCII_US ); - OSL_TRACE( sTrace.getStr() ); + OSL_TRACE( "%s", sTrace.getStr() ); #endif pAttributeDispatcher = new OParametrizedAttributeDispatcher( pRichTextControl->getView(), _nSlotId, _rURL, pRichTextControl ); } @@ -642,7 +642,7 @@ namespace frm #if OSL_DEBUG_LEVEL > 0 ::rtl::OString sTrace( "ORichTextPeer::implCreateDispatcher: creating *normal* dispatcher for " ); sTrace += ::rtl::OString( _rURL.Complete.getStr(), _rURL.Complete.getLength(), RTL_TEXTENCODING_ASCII_US ); - OSL_TRACE( sTrace.getStr() ); + OSL_TRACE( "%s", sTrace.getStr() ); #endif pAttributeDispatcher = new OAttributeDispatcher( pRichTextControl->getView(), _nSlotId, _rURL, pRichTextControl ); } @@ -652,7 +652,7 @@ namespace frm { ::rtl::OString sTrace( "ORichTextPeer::implCreateDispatcher: not creating dispatcher (unsupported slot) for " ); sTrace += ::rtl::OString( _rURL.Complete.getStr(), _rURL.Complete.getLength(), RTL_TEXTENCODING_ASCII_US ); - OSL_TRACE( sTrace.getStr() ); + OSL_TRACE( "%s", sTrace.getStr() ); } #endif } |