summaryrefslogtreecommitdiff
path: root/xmloff/source/style/numehelp.cxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-01 19:07:44 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-02 15:04:37 +0100
commit65c053ca1a5a8c7318ab1e42cdde2d540a283673 (patch)
tree2e1a29f5d832ff0cb0d4c095f038392b472459d1 /xmloff/source/style/numehelp.cxx
parent40afe52c92f340d0fedbb59d1071a542e6fb61e3 (diff)
Move DBG_ERROR to OSL_FAIL
Diffstat (limited to 'xmloff/source/style/numehelp.cxx')
-rw-r--r--xmloff/source/style/numehelp.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/xmloff/source/style/numehelp.cxx b/xmloff/source/style/numehelp.cxx
index 911f498c2ae5..8a40908407f5 100644
--- a/xmloff/source/style/numehelp.cxx
+++ b/xmloff/source/style/numehelp.cxx
@@ -273,7 +273,7 @@ sal_Bool XMLNumberFormatAttributesExportHelper::GetCurrencySymbol(const sal_Int3
}
catch ( uno::Exception& )
{
- DBG_ERROR("Numberformat not found");
+ OSL_FAIL("Numberformat not found");
}
}
}
@@ -301,7 +301,7 @@ sal_Int16 XMLNumberFormatAttributesExportHelper::GetCellType(const sal_Int32 nNu
}
catch ( uno::Exception& )
{
- DBG_ERROR("Numberformat not found");
+ OSL_FAIL("Numberformat not found");
}
}
}
@@ -357,7 +357,7 @@ sal_Bool XMLNumberFormatAttributesExportHelper::GetCurrencySymbol(const sal_Int3
}
catch ( uno::Exception& )
{
- DBG_ERROR("Numberformat not found");
+ OSL_FAIL("Numberformat not found");
}
}
return sal_False;
@@ -385,7 +385,7 @@ sal_Int16 XMLNumberFormatAttributesExportHelper::GetCellType(const sal_Int32 nNu
}
catch ( uno::Exception& )
{
- DBG_ERROR("Numberformat not found");
+ OSL_FAIL("Numberformat not found");
}
}
return 0;
@@ -538,7 +538,7 @@ void XMLNumberFormatAttributesExportHelper::SetNumberFormatAttributes(
WriteAttributes(nTypeKey, rValue, sCurrency, bExportValue);
}
else {
- DBG_ERROR("no SvXMLExport given");
+ OSL_FAIL("no SvXMLExport given");
}
}
@@ -554,7 +554,7 @@ void XMLNumberFormatAttributesExportHelper::SetNumberFormatAttributes(
pExport->AddAttribute(sAttrStringValue, rValue);
}
else {
- DBG_ERROR("no SvXMLExport given");
+ OSL_FAIL("no SvXMLExport given");
}
}