From 3a6c04eef54129bdcb836785e7ffeff40fe0ef72 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Mon, 9 Feb 2015 18:08:39 +0100 Subject: xmloff: replace legacy DBG_WARNINGs Change-Id: I79f20f67e623b8d9607374e8be9a78fa10dc9af6 --- xmloff/source/style/DashStyle.cxx | 2 +- xmloff/source/style/GradientStyle.cxx | 3 +-- xmloff/source/style/HatchStyle.cxx | 3 +-- xmloff/source/style/ImageStyle.cxx | 3 +-- xmloff/source/style/TransGradientStyle.cxx | 3 +-- xmloff/source/text/txtflde.cxx | 6 +++--- xmloff/source/text/txtfldi.cxx | 2 +- 7 files changed, 9 insertions(+), 13 deletions(-) (limited to 'xmloff') diff --git a/xmloff/source/style/DashStyle.cxx b/xmloff/source/style/DashStyle.cxx index a4e26b266a58..d1aafde9c377 100644 --- a/xmloff/source/style/DashStyle.cxx +++ b/xmloff/source/style/DashStyle.cxx @@ -188,7 +188,7 @@ void XMLDashStyleImport::importXML( } break; default: - DBG_WARNING( "Unknown token at import gradient style" ); + SAL_INFO("xmloff.style", "Unknown token at import dash style"); } } diff --git a/xmloff/source/style/GradientStyle.cxx b/xmloff/source/style/GradientStyle.cxx index 6a3b7496981c..0ef830b3616c 100644 --- a/xmloff/source/style/GradientStyle.cxx +++ b/xmloff/source/style/GradientStyle.cxx @@ -189,8 +189,7 @@ bool XMLGradientStyleImport::importXML( break; default: - DBG_WARNING( "Unknown token at import gradient style" ) - ; + SAL_INFO("xmloff.style", "Unknown token at import gradient style"); } } diff --git a/xmloff/source/style/HatchStyle.cxx b/xmloff/source/style/HatchStyle.cxx index f3d324495a74..3dbbb45467a1 100644 --- a/xmloff/source/style/HatchStyle.cxx +++ b/xmloff/source/style/HatchStyle.cxx @@ -146,8 +146,7 @@ bool XMLHatchStyleImport::importXML( break; default: - DBG_WARNING( "Unknown token at import hatch style" ) - ; + SAL_INFO("xmloff.style", "Unknown token at import hatch style"); } } diff --git a/xmloff/source/style/ImageStyle.cxx b/xmloff/source/style/ImageStyle.cxx index 64958bd0be44..ec0a53ef3a3c 100644 --- a/xmloff/source/style/ImageStyle.cxx +++ b/xmloff/source/style/ImageStyle.cxx @@ -163,8 +163,7 @@ bool XMLImageStyle::ImpImportXML( const uno::Reference< xml::sax::XAttributeList // ignore break; default: - DBG_WARNING( "Unknown token at import fill bitmap style" ) - ; + SAL_INFO("xmloff.style", "Unknown token at import fill bitmap style"); } } diff --git a/xmloff/source/style/TransGradientStyle.cxx b/xmloff/source/style/TransGradientStyle.cxx index 1442e5aa7858..85c66ec3eafb 100644 --- a/xmloff/source/style/TransGradientStyle.cxx +++ b/xmloff/source/style/TransGradientStyle.cxx @@ -189,8 +189,7 @@ bool XMLTransGradientStyleImport::importXML( break; default: - DBG_WARNING( "Unknown token at import transparency gradient style" ) - ; + SAL_INFO("xmloff.style", "Unknown token at import transparency gradient style"); } } diff --git a/xmloff/source/text/txtflde.cxx b/xmloff/source/text/txtflde.cxx index 837ebe65ffec..aabd4beeb97b 100644 --- a/xmloff/source/text/txtflde.cxx +++ b/xmloff/source/text/txtflde.cxx @@ -2887,7 +2887,7 @@ bool XMLTextFieldExport::ExplodeFieldMasterName( // '.' found? if (nSeparator <= nLength) { nSeparator = sMasterName.getLength(); - DBG_WARNING("no field var name!"); + SAL_WARN("xmloff.text", "no field var name!"); bReturn = false; } else @@ -3278,7 +3278,7 @@ enum XMLTokenEnum XMLTextFieldExport::MapSenderFieldName( eName = XML_SENDER_STATE_OR_PROVINCE; break; default: - DBG_WARNING("unknown sender type"); + SAL_WARN("xmloff.text", "unknown sender type"); eName = XML_TOKEN_INVALID; break; } @@ -3339,7 +3339,7 @@ enum XMLTokenEnum XMLTextFieldExport::MapDocInfoFieldName( eElement = XML_CREATOR; break; default: - DBG_WARNING("unknown docinfo field type!"); + SAL_WARN("xmloff.text", "unknown docinfo field type!"); eElement = XML_TOKEN_INVALID; break; } diff --git a/xmloff/source/text/txtfldi.cxx b/xmloff/source/text/txtfldi.cxx index 90d1be3383a0..bdba18f55858 100644 --- a/xmloff/source/text/txtfldi.cxx +++ b/xmloff/source/text/txtfldi.cxx @@ -959,7 +959,7 @@ void XMLPageNumberImportContext::PrepareField( nPageAdjust++; break; default: - DBG_WARNING("unknown page number type"); + SAL_WARN("xmloff.text", "unknown page number type"); } aAny <<= nPageAdjust; xPropertySet->setPropertyValue(sPropertyOffset, aAny); -- cgit