summaryrefslogtreecommitdiff
path: root/xmloff/source/table/XMLTableImport.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/table/XMLTableImport.cxx
parent40afe52c92f340d0fedbb59d1071a542e6fb61e3 (diff)
Move DBG_ERROR to OSL_FAIL
Diffstat (limited to 'xmloff/source/table/XMLTableImport.cxx')
-rw-r--r--xmloff/source/table/XMLTableImport.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/xmloff/source/table/XMLTableImport.cxx b/xmloff/source/table/XMLTableImport.cxx
index 2ebd134f815f..e101d93493ea 100644
--- a/xmloff/source/table/XMLTableImport.cxx
+++ b/xmloff/source/table/XMLTableImport.cxx
@@ -287,7 +287,7 @@ void XMLTableImport::finishStyles()
}
catch( Exception& )
{
- DBG_ERROR("xmloff::XMLTableImport::finishStyles(), exception caught!");
+ OSL_FAIL("xmloff::XMLTableImport::finishStyles(), exception caught!");
}
if( xTemplate.is() )
@@ -301,12 +301,12 @@ void XMLTableImport::finishStyles()
}
catch( Exception& )
{
- DBG_ERROR("xmloff::XMLTableImport::finishStyles(), exception caught!");
+ OSL_FAIL("xmloff::XMLTableImport::finishStyles(), exception caught!");
}
}
catch( Exception& )
{
- DBG_ERROR("xmloff::XMLTableImport::finishStyles(), exception caught!");
+ OSL_FAIL("xmloff::XMLTableImport::finishStyles(), exception caught!");
}
}
@@ -389,7 +389,7 @@ SvXMLImportContext * XMLTableImportContext::ImportColumn( USHORT nPrefix, const
}
catch( Exception& )
{
- DBG_ERROR("xmloff::XMLTableImportContext::ImportTableColumn(), exception caught!");
+ OSL_FAIL("xmloff::XMLTableImportContext::ImportTableColumn(), exception caught!");
}
return SvXMLImportContext::CreateChildContext( nPrefix, rLocalName, xAttrList);
@@ -429,7 +429,7 @@ void XMLTableImportContext::InitColumns()
}
catch( Exception& )
{
- DBG_ERROR("xmloff::XMLTableImportContext::ImportTableColumn(), exception caught!");
+ OSL_FAIL("xmloff::XMLTableImportContext::ImportTableColumn(), exception caught!");
}
}
@@ -536,7 +536,7 @@ SvXMLImportContext * XMLTableImportContext::ImportCell( USHORT nPrefix, const OU
const sal_Int32 nRepeated = pCellContext->getRepeated();
if( nRepeated > 1 )
{
- DBG_ERROR("xmloff::XMLTableImportContext::ImportCell(), import of repeated Cells not implemented (TODO)");
+ OSL_FAIL("xmloff::XMLTableImportContext::ImportCell(), import of repeated Cells not implemented (TODO)");
mnCurrentColumn += nRepeated - 1;
}
@@ -544,7 +544,7 @@ SvXMLImportContext * XMLTableImportContext::ImportCell( USHORT nPrefix, const OU
}
catch( Exception& )
{
- DBG_ERROR("xmloff::XMLTableImportContext::ImportCell(), exception caught!");
+ OSL_FAIL("xmloff::XMLTableImportContext::ImportCell(), exception caught!");
}
return SvXMLImportContext::CreateChildContext( nPrefix, rLocalName, xAttrList);
@@ -597,7 +597,7 @@ void XMLTableImportContext::EndElement()
}
catch( Exception& )
{
- DBG_ERROR("XMLTableImportContext::EndElement(), exception caught while merging cells!");
+ OSL_FAIL("XMLTableImportContext::EndElement(), exception caught while merging cells!");
}
}
}