diff options
Diffstat (limited to 'xmloff/source/script/XMLScriptExportHandler.cxx')
-rw-r--r-- | xmloff/source/script/XMLScriptExportHandler.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/xmloff/source/script/XMLScriptExportHandler.cxx b/xmloff/source/script/XMLScriptExportHandler.cxx index 6b35a4456402..6b5075d02112 100644 --- a/xmloff/source/script/XMLScriptExportHandler.cxx +++ b/xmloff/source/script/XMLScriptExportHandler.cxx @@ -31,8 +31,6 @@ using namespace ::xmloff::token; using ::com::sun::star::beans::PropertyValue; -constexpr OUStringLiteral gsURL(u"Script"); - XMLScriptExportHandler::XMLScriptExportHandler() { } @@ -55,7 +53,7 @@ void XMLScriptExportHandler::Export( for(const auto& rValue : rValues) { - if (gsURL == rValue.Name) + if (u"Script"_ustr == rValue.Name) { OUString sTmp; rValue.Value >>= sTmp; |