summaryrefslogtreecommitdiff
path: root/sdext/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2023-10-19 10:30:27 +0200
committerStephan Bergmann <sbergman@redhat.com>2023-10-20 09:22:01 +0200
commitbc9fc85452a4da18df592be190347e9781dbba0a (patch)
tree57fd5704e6aebef49bdc7a2c96963f2e568396b2 /sdext/source
parent68486cc18e3b7fcfa97b472184ede43a76c2be15 (diff)
Extended loplugin:ostr: Automatic rewrite O[U]StringLiteral: sdext
Change-Id: I13d1279050de77e8ea054c6ee3a3bce97cec584b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158219 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sdext/source')
-rw-r--r--sdext/source/minimizer/informationdialog.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sdext/source/minimizer/informationdialog.cxx b/sdext/source/minimizer/informationdialog.cxx
index dc4b03042895..caea0fc1d787 100644
--- a/sdext/source/minimizer/informationdialog.cxx
+++ b/sdext/source/minimizer/informationdialog.cxx
@@ -83,7 +83,7 @@ void InformationDialog::InitDialog()
aURL.Complete = maSaveAsURL;
xURLTransformer->parseSmart( aURL, OUString() );
- static constexpr OUStringLiteral sFileProtocol( u"file:///" );
+ static constexpr OUString sFileProtocol( u"file:///"_ustr );
aPresentationURL.Complete = sFileProtocol + aURL.Name;
aTitle = xURLTransformer->getPresentation( aPresentationURL, false );
@@ -93,8 +93,8 @@ void InformationDialog::InitDialog()
OUString sPrimary( getString( STR_INFO_PRIMARY ) );
OUString sSecondary( getString( eInfoString ) );
- static constexpr OUStringLiteral aOldSizePlaceholder( u"%OLDFILESIZE" );
- static constexpr OUStringLiteral aNewSizePlaceholder( u"%NEWFILESIZE" );
+ static constexpr OUString aOldSizePlaceholder( u"%OLDFILESIZE"_ustr );
+ static constexpr OUString aNewSizePlaceholder( u"%NEWFILESIZE"_ustr );
const OUString aTitlePlaceholder( !aTitle.isEmpty() ? OUString("%TITLE" )
: OUString("'%TITLE'") );