diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2021-03-25 09:53:33 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2021-03-25 10:06:26 +0100 |
commit | a0656ec6fc2b41e65f1b40dbd64f546175e2762f (patch) | |
tree | c0d3443a27d9dc10266760110e96b50cce46ef02 /sfx2/source/doc/guisaveas.cxx | |
parent | e9c6fd6b4d09ee59b6a86942cbf001f2ba9782e6 (diff) |
const OUString -> const OUStringLiteral
Mostly automated rewrite
Change-Id: Ie020a083f898bc126b8fb039d4ecb2e687172da1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112965
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sfx2/source/doc/guisaveas.cxx')
-rw-r--r-- | sfx2/source/doc/guisaveas.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sfx2/source/doc/guisaveas.cxx b/sfx2/source/doc/guisaveas.cxx index 9def55f25e67..e2a2209e7b38 100644 --- a/sfx2/source/doc/guisaveas.cxx +++ b/sfx2/source/doc/guisaveas.cxx @@ -648,13 +648,13 @@ sal_Int8 ModelData_Impl::CheckStateForSave() // check acceptable entries for media descriptor ::comphelper::SequenceAsHashMap aAcceptedArgs; - const OUString aVersionCommentString("VersionComment"); - const OUString aAuthorString("Author"); - const OUString aDontTerminateEdit("DontTerminateEdit"); - const OUString aInteractionHandlerString("InteractionHandler"); - const OUString aStatusIndicatorString("StatusIndicator"); - const OUString aFailOnWarningString("FailOnWarning"); - const OUString aNoFileSync("NoFileSync"); + static const OUStringLiteral aVersionCommentString(u"VersionComment"); + static const OUStringLiteral aAuthorString(u"Author"); + static const OUStringLiteral aDontTerminateEdit(u"DontTerminateEdit"); + static const OUStringLiteral aInteractionHandlerString(u"InteractionHandler"); + static const OUStringLiteral aStatusIndicatorString(u"StatusIndicator"); + static const OUStringLiteral aFailOnWarningString(u"FailOnWarning"); + static const OUStringLiteral aNoFileSync(u"NoFileSync"); if ( GetMediaDescr().find( aVersionCommentString ) != GetMediaDescr().end() ) aAcceptedArgs[ aVersionCommentString ] = GetMediaDescr()[ aVersionCommentString ]; |