vcl/qa/cppunit/complextext.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
New commits: commit aea53c0ed1527ed1f8233972a27128e14d645e8f Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Wed Nov 8 14:03:53 2023 +0100 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Wed Nov 8 22:50:26 2023 +0100 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 <sberg...@redhat.com> 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) {