summaryrefslogtreecommitdiff
path: root/xmloff/source/draw/ximppage.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/draw/ximppage.cxx
parent40afe52c92f340d0fedbb59d1071a542e6fb61e3 (diff)
Move DBG_ERROR to OSL_FAIL
Diffstat (limited to 'xmloff/source/draw/ximppage.cxx')
-rw-r--r--xmloff/source/draw/ximppage.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/xmloff/source/draw/ximppage.cxx b/xmloff/source/draw/ximppage.cxx
index 5ac26a94deef..cdd8fb0a81e4 100644
--- a/xmloff/source/draw/ximppage.cxx
+++ b/xmloff/source/draw/ximppage.cxx
@@ -361,7 +361,7 @@ void SdXMLGenericPageContext::EndElement()
catch( uno::Exception& e )
{
(void)e;
- DBG_ERROR("xmloff::SdXMLGenericPageContext::EndElement(), unexpected exception cought!");
+ OSL_FAIL("xmloff::SdXMLGenericPageContext::EndElement(), unexpected exception cought!");
}
}
@@ -428,7 +428,7 @@ void SdXMLGenericPageContext::SetStyle( rtl::OUString& rStyleName )
}
catch( uno::Exception )
{
- DBG_ERROR( "SdXMLGenericPageContext::SetStyle(): uno::Exception catched!" );
+ OSL_FAIL( "SdXMLGenericPageContext::SetStyle(): uno::Exception catched!" );
}
}
}
@@ -632,7 +632,7 @@ void SdXMLGenericPageContext::SetNavigationOrder()
{
if( !aShapes[nIndex].is() )
{
- DBG_ERROR("xmloff::SdXMLGenericPageContext::SetNavigationOrder(), draw:nav-order attribute incomplete!");
+ OSL_FAIL("xmloff::SdXMLGenericPageContext::SetNavigationOrder(), draw:nav-order attribute incomplete!");
// todo: warning?
return;
}
@@ -643,7 +643,7 @@ void SdXMLGenericPageContext::SetNavigationOrder()
}
catch( uno::Exception& )
{
- DBG_ERROR("xmloff::SdXMLGenericPageContext::SetNavigationOrder(), unexpected exception cought while importing shape navigation order!");
+ OSL_FAIL("xmloff::SdXMLGenericPageContext::SetNavigationOrder(), unexpected exception cought while importing shape navigation order!");
}
}