summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2023-11-08 14:03:53 +0100
committerStephan Bergmann <sbergman@redhat.com>2023-11-08 22:50:26 +0100
commitaea53c0ed1527ed1f8233972a27128e14d645e8f (patch)
tree5b7f5820107d7da01bfaf4c5c1d8a89931229777 /vcl
parent79ac262c926ea2845a5ed50d7abe5e9572fbdfc6 (diff)
loplugin:unreffun (clang-cl)
...and make things private/protected, while at it Change-Id: I5854f55dfe073e30b853c0d3bbafc4b7293c7f0b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159132 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/qa/cppunit/complextext.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/vcl/qa/cppunit/complextext.cxx b/vcl/qa/cppunit/complextext.cxx
index 99b728d338b8..633dc2210e07 100644
--- a/vcl/qa/cppunit/complextext.cxx
+++ b/vcl/qa/cppunit/complextext.cxx
@@ -44,14 +44,15 @@ static std::ostream& operator<<(std::ostream& rStream, const std::vector<sal_Int
class VclComplexTextTest : public test::BootstrapFixture
{
+#if !defined _WIN32
OUString maDataUrl = u"/vcl/qa/cppunit/data/"_ustr;
-public:
OUString getFullUrl(std::u16string_view sFileName)
{
return m_directories.getURLFromSrc(maDataUrl) + sFileName;
}
+protected:
bool addFont(OutputDevice* pOutDev, std::u16string_view sFileName,
std::u16string_view sFamilyName)
{
@@ -60,7 +61,9 @@ public:
OutputDevice::ImplRefreshAllFontData(true);
return bAdded;
}
+#endif
+public:
VclComplexTextTest()
: BootstrapFixture(true, false)
{