summaryrefslogtreecommitdiff
path: root/vcl/qa
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-12-08 14:45:41 +0100
committerStephan Bergmann <sbergman@redhat.com>2020-12-08 16:44:15 +0100
commit390866bc35eb9c0cce156fcd22079847f3117255 (patch)
tree51f458745f1e6570cb38516148afa987aeef43f0 /vcl/qa
parent71a1ea29b8793a8db012dd3452ef0dd87f1be36a (diff)
loplugin:elidestringvar
...after db89f53c31af997b9bf422b0e784afba8d62a42e "remove OpenGL VCL backend code" Change-Id: I0a333f08ec5877593207e867758dc512398840a8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107419 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl/qa')
-rw-r--r--vcl/qa/cppunit/svm/svmtest.cxx10
1 files changed, 3 insertions, 7 deletions
diff --git a/vcl/qa/cppunit/svm/svmtest.cxx b/vcl/qa/cppunit/svm/svmtest.cxx
index 868b9a2dc8d0..454a58b75d0c 100644
--- a/vcl/qa/cppunit/svm/svmtest.cxx
+++ b/vcl/qa/cppunit/svm/svmtest.cxx
@@ -916,18 +916,14 @@ void SvmTest::checkBitmaps(const GDIMetaFile& rMetaFile)
if (SkiaHelper::isVCLSkiaEnabled())
return; // TODO SKIA using CRCs is broken (the idea of it)
- OUString crc1 = "b8dee5da";
- OUString crc2 = "281fc589";
- OUString crc3 = "5e01ddcc";
-
- assertXPathAttrs(pDoc, "/metafile/bmp[1]", {{"x", "1"}, {"y", "2"}, {"crc", crc1}});
+ assertXPathAttrs(pDoc, "/metafile/bmp[1]", {{"x", "1"}, {"y", "2"}, {"crc", "b8dee5da"}});
assertXPathAttrs(pDoc, "/metafile/bmpscale[1]", {
- {"x", "1"}, {"y", "2"}, {"width", "3"}, {"height", "4"}, {"crc", crc2}
+ {"x", "1"}, {"y", "2"}, {"width", "3"}, {"height", "4"}, {"crc", "281fc589"}
});
assertXPathAttrs(pDoc, "/metafile/bmpscalepart[1]", {
{"destx", "1"}, {"desty", "2"}, {"destwidth", "3"}, {"destheight", "4"},
{"srcx", "2"}, {"srcy", "1"}, {"srcwidth", "4"}, {"srcheight", "3"},
- {"crc", crc3}
+ {"crc", "5e01ddcc"}
});
}