diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-03 15:13:56 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-13 16:50:40 +0100 |
commit | 1c3b168ed11677a4171212f5f47483508715c333 (patch) | |
tree | dd5df2868497dfbfb8f48626b0a3a9432bafd038 | |
parent | adf9c047ac0e40d801f50bab8e8260be6c90a277 (diff) |
Move DBG_ERROR to OSL_FAIL for strings with masked quotation marks
-rw-r--r-- | sfx2/source/appl/opengrf.cxx | 6 | ||||
-rw-r--r-- | xmloff/source/draw/sdxmlexp.cxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sfx2/source/appl/opengrf.cxx b/sfx2/source/appl/opengrf.cxx index 44a4aa7387c2..1c393a21a40c 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 e99cbe59d308..14405a40e6bb 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?" ); } } |