summaryrefslogtreecommitdiff
path: root/xmloff/source/style/numehelp.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2008-04-22 14:31:00 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2008-04-22 14:31:00 +0000
commitb9fa675a7d132b4221ed3bc5ad4fccbd680605eb (patch)
tree684572e0f95972842864cdd316385d2b8eb8d3a1 /xmloff/source/style/numehelp.cxx
parentc6fdc3472f419694575550cc0363ea3661a231f7 (diff)
INTEGRATION: CWS hr50 (1.26.172); FILE MERGED
2008/04/09 11:05:54 hr 1.26.172.1: #i86574#: fix warning (gcc-4.2.3)
Diffstat (limited to 'xmloff/source/style/numehelp.cxx')
-rw-r--r--xmloff/source/style/numehelp.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/xmloff/source/style/numehelp.cxx b/xmloff/source/style/numehelp.cxx
index d3940f7736d1..259d6d9c943b 100644
--- a/xmloff/source/style/numehelp.cxx
+++ b/xmloff/source/style/numehelp.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: numehelp.cxx,v $
- * $Revision: 1.27 $
+ * $Revision: 1.28 $
*
* This file is part of OpenOffice.org.
*
@@ -539,8 +539,9 @@ void XMLNumberFormatAttributesExportHelper::SetNumberFormatAttributes(
sal_Int16 nTypeKey = GetCellType(nNumberFormat, sCurrency, bIsStandard);
WriteAttributes(nTypeKey, rValue, sCurrency, bExportValue);
}
- else
+ else {
DBG_ERROR("no SvXMLExport given");
+ }
}
void XMLNumberFormatAttributesExportHelper::SetNumberFormatAttributes(
@@ -554,6 +555,7 @@ void XMLNumberFormatAttributesExportHelper::SetNumberFormatAttributes(
if (bExportValue && rValue.getLength() && (rValue != rCharacters))
pExport->AddAttribute(sAttrStringValue, rValue);
}
- else
+ else {
DBG_ERROR("no SvXMLExport given");
+ }
}