summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-02-09 18:08:39 +0100
committerMichael Stahl <mstahl@redhat.com>2015-02-09 18:09:18 +0100
commit3a6c04eef54129bdcb836785e7ffeff40fe0ef72 (patch)
tree39e8f92a106aed980a36ab0852638096bb558d22
parentaa685127e756be55a3d4780b4f82c8462ca4e1de (diff)
xmloff: replace legacy DBG_WARNINGs
Change-Id: I79f20f67e623b8d9607374e8be9a78fa10dc9af6
-rw-r--r--xmloff/source/style/DashStyle.cxx2
-rw-r--r--xmloff/source/style/GradientStyle.cxx3
-rw-r--r--xmloff/source/style/HatchStyle.cxx3
-rw-r--r--xmloff/source/style/ImageStyle.cxx3
-rw-r--r--xmloff/source/style/TransGradientStyle.cxx3
-rw-r--r--xmloff/source/text/txtflde.cxx6
-rw-r--r--xmloff/source/text/txtfldi.cxx2
7 files changed, 9 insertions, 13 deletions
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);