diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2018-07-06 09:44:21 +0200 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2018-07-06 13:26:01 +0200 |
commit | c6cc4457f56046e7cce2661831ed08eaf007cd53 (patch) | |
tree | 5a508137ded13aa314a21ffc82b8cf601df600fc /vcl | |
parent | 3fc8179c7ac33616008513e4182f86cd77743151 (diff) |
loplugin:externandnotdefined + loplugin:unreffun
Change-Id: I364cfdb3b26096d986b651bd3e0673fa3dbf5f83
Reviewed-on: https://gerrit.libreoffice.org/57039
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/qa/cppunit/complextext.cxx | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/vcl/qa/cppunit/complextext.cxx b/vcl/qa/cppunit/complextext.cxx index 97d156d4f8e8..cf1027f0810c 100644 --- a/vcl/qa/cppunit/complextext.cxx +++ b/vcl/qa/cppunit/complextext.cxx @@ -7,10 +7,12 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <config_test.h> + #include <ostream> #include <vector> -#if !defined(_WIN32) -std::ostream& operator<<(std::ostream& rStream, const std::vector<long>& rVec); +#if !defined(_WIN32) && !TEST_FONTS_MISSING +static std::ostream& operator<<(std::ostream& rStream, const std::vector<long>& rVec); #endif #include <unotest/filters-test.hxx> @@ -23,10 +25,8 @@ std::ostream& operator<<(std::ostream& rStream, const std::vector<long>& rVec); #include <osl/file.hxx> #include <osl/process.h> -#include <config_test.h> - -#if !defined(_WIN32) -std::ostream& operator<<(std::ostream& rStream, const std::vector<long>& rVec) +#if !defined(_WIN32) && !TEST_FONTS_MISSING +static std::ostream& operator<<(std::ostream& rStream, const std::vector<long>& rVec) { rStream << "{ "; for (size_t i = 0; i < rVec.size() - 1; i++) @@ -42,8 +42,10 @@ class VclComplexTextTest : public test::BootstrapFixture public: VclComplexTextTest() : BootstrapFixture(true, false) {} +#if !TEST_FONTS_MISSING /// Play with font measuring etc. void testArabic(); +#endif #if defined(_WIN32) void testTdf95650(); // Windows-only issue #endif |