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>
This commit is contained in:
Stephan Bergmann
2023-11-08 22:50:26 +01:00
parent 79ac262c92
commit aea53c0ed1
+4 -1
View File
@@ -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)
{