diff options
author | Michael Stahl <mstahl@redhat.com> | 2017-10-17 17:22:18 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-10-17 21:03:52 +0200 |
commit | 99772908d741c39236f36b06e237810031b8851a (patch) | |
tree | eb5508da1ec2a9a472992ba9f8dff30efa4aeb63 /xmloff/source/style | |
parent | 8fa7d052e772ebdb612e596cf06bf57bf88da12f (diff) |
xmloff: this should be an assert()
Change-Id: Ib81fd7f72964d7152c62d1f9b90dc0cf95e952cc
Diffstat (limited to 'xmloff/source/style')
-rw-r--r-- | xmloff/source/style/EnumPropertyHdl.cxx | 2 |
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; |