Kaydet (Commit) b9fa675a authored tarafından Jens-Heiner Rechtien's avatar Jens-Heiner Rechtien

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)
üst c6fdc347
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite * OpenOffice.org - a multi-platform office productivity suite
* *
* $RCSfile: numehelp.cxx,v $ * $RCSfile: numehelp.cxx,v $
* $Revision: 1.27 $ * $Revision: 1.28 $
* *
* This file is part of OpenOffice.org. * This file is part of OpenOffice.org.
* *
...@@ -539,8 +539,9 @@ void XMLNumberFormatAttributesExportHelper::SetNumberFormatAttributes( ...@@ -539,8 +539,9 @@ void XMLNumberFormatAttributesExportHelper::SetNumberFormatAttributes(
sal_Int16 nTypeKey = GetCellType(nNumberFormat, sCurrency, bIsStandard); sal_Int16 nTypeKey = GetCellType(nNumberFormat, sCurrency, bIsStandard);
WriteAttributes(nTypeKey, rValue, sCurrency, bExportValue); WriteAttributes(nTypeKey, rValue, sCurrency, bExportValue);
} }
else else {
DBG_ERROR("no SvXMLExport given"); DBG_ERROR("no SvXMLExport given");
}
} }
void XMLNumberFormatAttributesExportHelper::SetNumberFormatAttributes( void XMLNumberFormatAttributesExportHelper::SetNumberFormatAttributes(
...@@ -554,6 +555,7 @@ void XMLNumberFormatAttributesExportHelper::SetNumberFormatAttributes( ...@@ -554,6 +555,7 @@ void XMLNumberFormatAttributesExportHelper::SetNumberFormatAttributes(
if (bExportValue && rValue.getLength() && (rValue != rCharacters)) if (bExportValue && rValue.getLength() && (rValue != rCharacters))
pExport->AddAttribute(sAttrStringValue, rValue); pExport->AddAttribute(sAttrStringValue, rValue);
} }
else else {
DBG_ERROR("no SvXMLExport given"); DBG_ERROR("no SvXMLExport given");
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment