summaryrefslogtreecommitdiff
path: root/xmloff/source/script/XMLEventExport.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/script/XMLEventExport.cxx')
-rw-r--r--xmloff/source/script/XMLEventExport.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/script/XMLEventExport.cxx b/xmloff/source/script/XMLEventExport.cxx
index 4d496a7b5940..6a303e6189ab 100644
--- a/xmloff/source/script/XMLEventExport.cxx
+++ b/xmloff/source/script/XMLEventExport.cxx
@@ -242,7 +242,7 @@ void XMLEventExport::ExportEvent(
}
else
{
- if (! sType.startsWith("None"))
+ if ( sType != "None" )
{
OSL_FAIL("unknown event type returned by API");
// unknown type -> error (ignore)