summaryrefslogtreecommitdiff
path: root/forms
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
commita913e6e5c23c00efe20dd3821ca0e8e7db854662 (patch)
treec8ae8ef0d19347e32cbdc7a886effe58d8c92971 /forms
parentc9eddb9d35857d75611886b805a7cdae0589594e (diff)
OSL_TRACE: Use format string
Diffstat (limited to 'forms')
-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 89b13d7a62d4..c6345a25ece0 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
}