diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2023-10-19 10:30:11 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2023-10-19 19:56:49 +0200 |
commit | 26b63f4f2f71a48dc0a9be3356da88f8b5f143dc (patch) | |
tree | 4c784db0940c8c5983808d295f0acacb1b0bd970 | |
parent | fa869ef61c790b6407ef6eae3eefc094d13c1361 (diff) |
Extended loplugin:ostr: Automatic rewrite O[U]StringLiteral: drawinglayer
Change-Id: I668041773862b380772d0425ac4eab1d37d310e3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158189
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r-- | drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx index 084cc0bef17e..193f5cdad31a 100644 --- a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx +++ b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx @@ -1083,7 +1083,7 @@ void VclMetafileProcessor2D::processControlPrimitive2D( uno::Reference<beans::XPropertySetInfo> xPropertyInfo( xModelProperties.is() ? xModelProperties->getPropertySetInfo() : uno::Reference<beans::XPropertySetInfo>()); - static constexpr OUStringLiteral sPrintablePropertyName(u"Printable"); + static constexpr OUString sPrintablePropertyName(u"Printable"_ustr); if (xPropertyInfo.is() && xPropertyInfo->hasPropertyByName(sPrintablePropertyName)) { @@ -1264,7 +1264,7 @@ void VclMetafileProcessor2D::processTextHierarchyFieldPrimitive2D( { // support for FIELD_SEQ_BEGIN, FIELD_SEQ_END and URL. It wraps text primitives (but is not limited to) // thus do the MetafileAction embedding stuff but just handle recursively. - static constexpr OStringLiteral aCommentStringCommon("FIELD_SEQ_BEGIN"); + static constexpr OString aCommentStringCommon("FIELD_SEQ_BEGIN"_ostr); OUString aURL; switch (rFieldPrimitive.getType()) @@ -1358,7 +1358,7 @@ void VclMetafileProcessor2D::processTextHierarchyBulletPrimitive2D( void VclMetafileProcessor2D::processTextHierarchyParagraphPrimitive2D( const primitive2d::TextHierarchyParagraphPrimitive2D& rParagraphPrimitive) { - static constexpr OStringLiteral aCommentString("XTEXT_EOP"); + static constexpr OString aCommentString("XTEXT_EOP"_ostr); static bool bSuppressPDFExtOutDevDataSupport(false); // loplugin:constvars:ignore if (nullptr == mpPDFExtOutDevData || bSuppressPDFExtOutDevDataSupport) |