summaryrefslogtreecommitdiffstats
path: root/xmloff/source/style/EnumPropertyHdl.cxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-01 19:07:44 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-02 15:04:37 +0100
commit65c053ca1a5a8c7318ab1e42cdde2d540a283673 (patch)
tree2e1a29f5d832ff0cb0d4c095f038392b472459d1 /xmloff/source/style/EnumPropertyHdl.cxx
parentRemove DBG_UTILx (diff)
downloadcore-65c053ca1a5a8c7318ab1e42cdde2d540a283673.tar.gz
core-65c053ca1a5a8c7318ab1e42cdde2d540a283673.zip
Move DBG_ERROR to OSL_FAIL
Diffstat (limited to 'xmloff/source/style/EnumPropertyHdl.cxx')
-rw-r--r--xmloff/source/style/EnumPropertyHdl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/style/EnumPropertyHdl.cxx b/xmloff/source/style/EnumPropertyHdl.cxx
index ef66ad5a1bbd..dcf31f47c06a 100644
--- a/xmloff/source/style/EnumPropertyHdl.cxx
+++ b/xmloff/source/style/EnumPropertyHdl.cxx
@@ -72,7 +72,7 @@ sal_Bool XMLEnumPropertyHdl::importXML( const OUString& rStrImpValue, Any& rValu
rValue <<= (sal_Int8) nValue;
break;
default:
- DBG_ERROR( "Wrong type for enum property handler!" );
+ OSL_FAIL( "Wrong type for enum property handler!" );
return sal_False;
}
return sal_True;