summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sfx2/source/appl/opengrf.cxx6
-rw-r--r--xmloff/source/draw/sdxmlexp.cxx2
2 files changed, 4 insertions, 4 deletions
diff --git a/sfx2/source/appl/opengrf.cxx b/sfx2/source/appl/opengrf.cxx
index f84bd3fadf..b940ff65ed 100644
--- a/sfx2/source/appl/opengrf.cxx
+++ b/sfx2/source/appl/opengrf.cxx
@@ -214,7 +214,7 @@ void SvxOpenGraphicDialog::EnableLink( sal_Bool state )
catch(IllegalArgumentException)
{
#ifdef DBG_UTIL
- DBG_ERROR( "Cannot enable \"link\" checkbox" );
+ OSL_FAIL( "Cannot enable \"link\" checkbox" );
#endif
}
}
@@ -233,7 +233,7 @@ void SvxOpenGraphicDialog::AsLink(sal_Bool bState)
catch(IllegalArgumentException)
{
#ifdef DBG_UTIL
- DBG_ERROR( "Cannot check \"link\" checkbox" );
+ OSL_FAIL( "Cannot check \"link\" checkbox" );
#endif
}
}
@@ -254,7 +254,7 @@ sal_Bool SvxOpenGraphicDialog::IsAsLink() const
catch(IllegalArgumentException)
{
#ifdef DBG_UTIL
- DBG_ERROR( "Cannot access \"link\" checkbox" );
+ OSL_FAIL( "Cannot access \"link\" checkbox" );
#endif
}
diff --git a/xmloff/source/draw/sdxmlexp.cxx b/xmloff/source/draw/sdxmlexp.cxx
index ba57db8717..d829995b06 100644
--- a/xmloff/source/draw/sdxmlexp.cxx
+++ b/xmloff/source/draw/sdxmlexp.cxx
@@ -1947,7 +1947,7 @@ void SdXMLExport::_ExportContent()
}
catch( Exception& )
{
- DBG_ERROR(" no \"BookmarkURL\" property at page?" );
+ OSL_FAIL(" no \"BookmarkURL\" property at page?" );
}
}