diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2023-10-19 10:30:39 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2023-10-20 22:46:23 +0200 |
commit | 335e73a7f37f5efc08a6691d8e4b271c68e0a2ac (patch) | |
tree | e70b1271b0ef2e72aace8d8f40c61a1840c0c3eb /vbahelper/source/msforms | |
parent | 5f69ffb27a09e094c5ba9da214c769b5ec2ce406 (diff) |
Extended loplugin:ostr: Automatic rewrite O[U]StringLiteral: vbahelper
Change-Id: Idb944974318a94763532639c9e74040adadf06f6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158290
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vbahelper/source/msforms')
-rw-r--r-- | vbahelper/source/msforms/vbamultipage.cxx | 2 | ||||
-rw-r--r-- | vbahelper/source/msforms/vbaprogressbar.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/vbahelper/source/msforms/vbamultipage.cxx b/vbahelper/source/msforms/vbamultipage.cxx index 183a93b667d4..72f62b665248 100644 --- a/vbahelper/source/msforms/vbamultipage.cxx +++ b/vbahelper/source/msforms/vbamultipage.cxx @@ -25,7 +25,7 @@ using namespace com::sun::star; using namespace ooo::vba; -constexpr OUStringLiteral SVALUE( u"MultiPageValue" ); +constexpr OUString SVALUE( u"MultiPageValue"_ustr ); namespace { diff --git a/vbahelper/source/msforms/vbaprogressbar.cxx b/vbahelper/source/msforms/vbaprogressbar.cxx index f988112b5c52..2e6462e4d72b 100644 --- a/vbahelper/source/msforms/vbaprogressbar.cxx +++ b/vbahelper/source/msforms/vbaprogressbar.cxx @@ -22,7 +22,7 @@ using namespace com::sun::star; using namespace ooo::vba; // uno servicename com.sun.star.awt.UnoControlProgressBarMode -constexpr OUStringLiteral SVALUE( u"ProgressValue" ); +constexpr OUString SVALUE( u"ProgressValue"_ustr ); ScVbaProgressBar::ScVbaProgressBar( const uno::Reference< ov::XHelperInterface >& xParent, const uno::Reference< uno::XComponentContext >& xContext, const uno::Reference< uno::XInterface >& xControl, const uno::Reference< frame::XModel >& xModel, std::unique_ptr<ov::AbstractGeometryAttributes> pGeomHelper ) : ProgressBarImpl_BASE( xParent, xContext, xControl, xModel, std::move(pGeomHelper) ) |