From 99772908d741c39236f36b06e237810031b8851a Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Tue, 17 Oct 2017 17:22:18 +0200 Subject: xmloff: this should be an assert() Change-Id: Ib81fd7f72964d7152c62d1f9b90dc0cf95e952cc --- xmloff/source/style/EnumPropertyHdl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmloff') 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; -- cgit