summaryrefslogtreecommitdiff
path: root/vcl/qa/cppunit/GraphicTest.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-01-10 16:41:27 +0000
committerCaolán McNamara <caolanm@redhat.com>2021-01-10 21:01:05 +0100
commit117ecc9870f57c3c211b4bfd35728503e1875743 (patch)
tree2d23e9fb370fb7943099b0aa1fcb6b0d41ebdedc /vcl/qa/cppunit/GraphicTest.cxx
parentf2254f11e5e381b959dcaab53a7ddb101a83b561 (diff)
fix coverity parse errors
Change-Id: I4884bfb67a061b865e8cf38b2fea6de0cb1bc3d6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109057 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/qa/cppunit/GraphicTest.cxx')
-rw-r--r--vcl/qa/cppunit/GraphicTest.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/qa/cppunit/GraphicTest.cxx b/vcl/qa/cppunit/GraphicTest.cxx
index 93c9c64ea3d2..0f3562388d97 100644
--- a/vcl/qa/cppunit/GraphicTest.cxx
+++ b/vcl/qa/cppunit/GraphicTest.cxx
@@ -211,8 +211,8 @@ bool checkBitmap(Graphic& rGraphic)
return bResult;
}
-OUStringLiteral const DATA_DIRECTORY = u"/vcl/qa/cppunit/data/";
-OUStringLiteral const PDFEXPORT_DATA_DIRECTORY = u"/vcl/qa/cppunit/pdfexport/data/";
+constexpr OUStringLiteral DATA_DIRECTORY = u"/vcl/qa/cppunit/data/";
+constexpr OUStringLiteral PDFEXPORT_DATA_DIRECTORY = u"/vcl/qa/cppunit/pdfexport/data/";
void GraphicTest::testUnloadedGraphic()
{