summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 c20fd050676c..d4b1ee091c4b 100644
--- a/xmloff/source/style/EnumPropertyHdl.cxx
+++ b/xmloff/source/style/EnumPropertyHdl.cxx
@@ -56,7 +56,7 @@ bool XMLEnumPropertyHdl::importXML( const OUString& rStrImpValue, Any& rValue, c
rValue <<= (sal_Int8) nValue;
break;
default:
- OSL_FAIL( "Wrong type for enum property handler!" );
+ assert(!"Wrong type for enum property handler!");
return false;
}
return true;