From ea6ae37c1bb8e6b806a97708cbcf5d1e81edccb2 Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Thu, 3 Mar 2011 12:59:25 +0100 Subject: Move DBG_ERROR to OSL_FAIL for strings GetBuffer() --- sc/source/ui/docshell/docsh3.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc/source/ui/docshell/docsh3.cxx') 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 -- cgit