summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2021-06-25 10:21:01 +0200
committerStephan Bergmann <sbergman@redhat.com>2021-06-25 21:10:04 +0200
commitc1abdd5ad801a48e104fe8596cfbde5b3d4aa453 (patch)
tree98a81a2f00070c60f1ce4872faf1e2b0b8f4029f
parent9b2dca857efea82722f82b20de68b7dc9c439fb6 (diff)
loplugin:unreffun (clang-cl)
Change-Id: Iee87fb5b62a5489f001890dc97a44dfe447080e5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117838 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r--vcl/qa/cppunit/svm/svmtest.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/qa/cppunit/svm/svmtest.cxx b/vcl/qa/cppunit/svm/svmtest.cxx
index a95c249c96bf..c260a974282d 100644
--- a/vcl/qa/cppunit/svm/svmtest.cxx
+++ b/vcl/qa/cppunit/svm/svmtest.cxx
@@ -166,7 +166,9 @@ class SvmTest : public test::BootstrapFixture, public XmlTestTools
void checkMapMode(const GDIMetaFile& rMetaFile);
void testMapMode();
+#if HAVE_MORE_FONTS && !defined(_WIN32)
void checkFont(const GDIMetaFile& rMetaFile);
+#endif
void testFont();
void checkPushPop(const GDIMetaFile& rMetaFile);
@@ -1890,6 +1892,7 @@ void SvmTest::testMapMode()
checkMapMode(readFile(u"mapmode.svm"));
}
+#if HAVE_MORE_FONTS && !defined(_WIN32)
void SvmTest::checkFont(const GDIMetaFile& rMetafile)
{
xmlDocUniquePtr pDoc = dumpMeta(rMetafile);
@@ -1905,6 +1908,7 @@ void SvmTest::checkFont(const GDIMetaFile& rMetafile)
{"vertical", "true"},
});
}
+#endif
void SvmTest::testFont()
{