diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-03 12:59:25 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-13 16:44:09 +0100 |
commit | ea6ae37c1bb8e6b806a97708cbcf5d1e81edccb2 (patch) | |
tree | f9162e6ed557f932501ecc97fd6f77922c4b13f9 /sc/source/ui | |
parent | 96a7f1dd19b88355a42307912cb2ab8e8ec7d7e8 (diff) |
Move DBG_ERROR to OSL_FAIL for strings GetBuffer()
Diffstat (limited to 'sc/source/ui')
-rw-r--r-- | sc/source/ui/Accessibility/DrawModelBroadcaster.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/docshell/docsh3.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/Accessibility/DrawModelBroadcaster.cxx b/sc/source/ui/Accessibility/DrawModelBroadcaster.cxx index 053d0c11dd94..dbddf79fc8f3 100644 --- a/sc/source/ui/Accessibility/DrawModelBroadcaster.cxx +++ b/sc/source/ui/Accessibility/DrawModelBroadcaster.cxx @@ -86,7 +86,7 @@ void ScDrawModelBroadcaster::Notify( SfxBroadcaster&, #if OSL_DEBUG_LEVEL > 1 ByteString aError( "Runtime exception caught while notifying shape.:\n" ); aError += ByteString( String( r.Message), RTL_TEXTENCODING_ASCII_US ); - DBG_ERROR( aError.GetBuffer() ); + OSL_FAIL( aError.GetBuffer() ); #endif } } diff --git a/sc/source/ui/docshell/docsh3.cxx b/sc/source/ui/docshell/docsh3.cxx index a9e79b46e86f..3f37b9713b1d 100644 --- a/sc/source/ui/docshell/docsh3.cxx +++ b/sc/source/ui/docshell/docsh3.cxx @@ -972,7 +972,7 @@ void ScDocShell::MergeDocument( ScDocument& rOtherDoc, bool bShared, bool bCheck ((const ScChangeActionContent*)pSourceAction)->GetNewString( aValue ); ByteString aError( aValue, gsl_getSystemTextEncoding() ); aError += " weggelassen"; - DBG_ERROR( aError.GetBuffer() ); + OSL_FAIL( aError.GetBuffer() ); #endif } else |