From 734db70ec85944aefb55a41b198fe1a60b91b2ea Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 19 Oct 2023 10:30:29 +0200 Subject: Extended loplugin:ostr: Automatic rewrite O[U]StringLiteral: starmath Change-Id: I964db94e75e19cb507508b15755e3595247b5524 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158221 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- starmath/source/unomodel.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'starmath/source/unomodel.cxx') diff --git a/starmath/source/unomodel.cxx b/starmath/source/unomodel.cxx index 8348287f9350..96e41599ddad 100644 --- a/starmath/source/unomodel.cxx +++ b/starmath/source/unomodel.cxx @@ -393,8 +393,8 @@ sal_Bool SmModel::supportsService(const OUString& rServiceName) uno::Sequence< OUString > SmModel::getSupportedServiceNames() { - static constexpr OUStringLiteral service1 = u"com.sun.star.document.OfficeDocument"; - static constexpr OUStringLiteral service2 = u"com.sun.star.formula.FormulaProperties"; + static constexpr OUString service1 = u"com.sun.star.document.OfficeDocument"_ustr; + static constexpr OUString service2 = u"com.sun.star.formula.FormulaProperties"_ustr; return uno::Sequence{ service1, service2 }; } -- cgit