summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-12 12:35:09 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-12 14:12:12 +0100
commitaedd92ffa94b98ca9fc8147eb45158df92de14ff (patch)
tree6563042f667b8b73b54df7daae2e3809c61f366b
parentd712a6de3105e1369baef1562c5ca0442469cdac (diff)
OSL_TRACE: Use format string
-rw-r--r--forms/source/richtext/richtextcontrol.cxx6
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
}