diff options
Diffstat (limited to 'xmloff/source/draw/ximppage.cxx')
-rw-r--r-- | xmloff/source/draw/ximppage.cxx | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/xmloff/source/draw/ximppage.cxx b/xmloff/source/draw/ximppage.cxx index 663ad84165e8..04d750776971 100644 --- a/xmloff/source/draw/ximppage.cxx +++ b/xmloff/source/draw/ximppage.cxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -360,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!"); } } @@ -427,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!" ); } } } @@ -631,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; } @@ -642,6 +643,8 @@ 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!"); } } + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |