summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/control/asynclink.cxx5
-rw-r--r--svtools/source/control/fmtfield.cxx7
2 files changed, 3 insertions, 9 deletions
diff --git a/svtools/source/control/asynclink.cxx b/svtools/source/control/asynclink.cxx
index 1038b9090678..20cd96d9f79d 100644
--- a/svtools/source/control/asynclink.cxx
+++ b/svtools/source/control/asynclink.cxx
@@ -35,10 +35,7 @@ void AsynchronLink::CreateMutex()
void AsynchronLink::Call( void* pObj, bool bAllowDoubles )
{
-#ifdef DBG_UTIL
- if ( !_bInCall )
- SAL_INFO( "svtools", "Recursives Call. Eher ueber Timer. TLX Fragen" ); // Do NOT translate. This is a valuable historical artefact.
-#endif
+ SAL_INFO_IF( !_bInCall, "svtools", "Recursives Call. Eher ueber Timer. TLX Fragen" ); // Do NOT translate. This is a valuable historical artefact.
if( _aLink.IsSet() )
{
_pArg = pObj;
diff --git a/svtools/source/control/fmtfield.cxx b/svtools/source/control/fmtfield.cxx
index 90d79269eafc..f747d80ce115 100644
--- a/svtools/source/control/fmtfield.cxx
+++ b/svtools/source/control/fmtfield.cxx
@@ -339,11 +339,8 @@ void FormattedField::SetText( const OUString& rStr, const Selection& rNewSelecti
void FormattedField::SetTextFormatted(const OUString& rStr)
{
-
-#if defined DBG_UTIL
- if (ImplGetFormatter()->IsTextFormat(m_nFormatKey))
- SAL_INFO("svtools", "FormattedField::SetTextFormatted : valid only with text formats !");
-#endif
+ SAL_INFO_IF(ImplGetFormatter()->IsTextFormat(m_nFormatKey), "svtools",
+ "FormattedField::SetTextFormatted : valid only with text formats !");
m_sCurrentTextValue = rStr;