From 5de73f04f3db9c8fb488bf75b1860bf8378a5b45 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 21 Oct 2024 12:41:53 +0200 Subject: new loplugin:staticconstexpr Change-Id: Ida1996dfffa106bf95fd064e8191b8033b4002f3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175336 Tested-by: Jenkins Reviewed-by: Noel Grandin --- xmloff/qa/unit/draw.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmloff') diff --git a/xmloff/qa/unit/draw.cxx b/xmloff/qa/unit/draw.cxx index 0d0db156b86b..198173350d73 100644 --- a/xmloff/qa/unit/draw.cxx +++ b/xmloff/qa/unit/draw.cxx @@ -836,7 +836,7 @@ CPPUNIT_TEST_FIXTURE(XmloffDrawTest, testTdf161327_LatheEndAngle) // get scene object uno::Reference xSceneShape(getShape(0)); - constexpr OUString sExpected(u"com.sun.star.drawing.Shape3DSceneObject"_ustr); + static constexpr OUString sExpected(u"com.sun.star.drawing.Shape3DSceneObject"_ustr); CPPUNIT_ASSERT_EQUAL(sExpected, xSceneShape->getShapeType()); // Examine child objects -- cgit