From 712b74daaae8d04c8bd4bd320610472cf3c3b397 Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Thu, 3 Mar 2011 14:37:38 +0100 Subject: Move DBG_ERROR to OSL_FAIL for getStr() --- extensions/source/propctrlr/stringrepresentation.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'extensions') diff --git a/extensions/source/propctrlr/stringrepresentation.cxx b/extensions/source/propctrlr/stringrepresentation.cxx index e2e6c0d7fd49..0fbcc391b799 100644 --- a/extensions/source/propctrlr/stringrepresentation.cxx +++ b/extensions/source/propctrlr/stringrepresentation.cxx @@ -181,7 +181,7 @@ uno::Sequence< ::rtl::OUString > SAL_CALL StringRepresentation::getSupportedSer ::rtl::OString sMessage( "StringRepresentation::convertPropertyValueToStringRepresentation: cannot convert values of type '" ); sMessage += ::rtl::OString( PropertyValue.getValueType().getTypeName().getStr(), PropertyValue.getValueType().getTypeName().getLength(), RTL_TEXTENCODING_ASCII_US ); sMessage += ::rtl::OString( "'!" ); - DBG_ERROR( sMessage.getStr() ); + OSL_FAIL( sMessage.getStr() ); } #endif } @@ -226,7 +226,7 @@ uno::Any SAL_CALL StringRepresentation::convertToPropertyValue(const ::rtl::OUSt ::rtl::OString sMessage( "StringRepresentation::convertStringRepresentationToPropertyValue: cannot convert into values of type '" ); sMessage += ::rtl::OString( ControlValueType.getTypeName().getStr(), ControlValueType.getTypeName().getLength(), RTL_TEXTENCODING_ASCII_US ); sMessage += ::rtl::OString( "'!" ); - DBG_ERROR( sMessage.getStr() ); + OSL_FAIL( sMessage.getStr() ); } #endif } -- cgit v1.2.3