summaryrefslogtreecommitdiff
path: root/qt4/tests
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2012-10-19 17:22:56 +0200
committerAlbert Astals Cid <aacid@kde.org>2012-10-19 17:22:56 +0200
commit2a25264afe3c59931f6a3638e2d6c6c2e0e5dfba (patch)
tree57986a3b2625fa09cc837b0f0e78316bc4ef55d4 /qt4/tests
parentbc4a54c0a4430216c9aeaf2c3bddbaeef5a004e4 (diff)
make static
because i can
Diffstat (limited to 'qt4/tests')
-rw-r--r--qt4/tests/check_fonts.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt4/tests/check_fonts.cpp b/qt4/tests/check_fonts.cpp
index c441632d..267595df 100644
--- a/qt4/tests/check_fonts.cpp
+++ b/qt4/tests/check_fonts.cpp
@@ -19,7 +19,7 @@ private slots:
};
-QList<Poppler::FontInfo> loadFontsViaIterator( Poppler::Document *doc, int from = 0, int count = -1 )
+static QList<Poppler::FontInfo> loadFontsViaIterator( Poppler::Document *doc, int from = 0, int count = -1 )
{
int num = count == -1 ? doc->numPages() - from : count;
QList<Poppler::FontInfo> list;
@@ -34,7 +34,7 @@ QList<Poppler::FontInfo> loadFontsViaIterator( Poppler::Document *doc, int from
namespace Poppler
{
-bool operator==( const FontInfo &f1, const FontInfo &f2 )
+static bool operator==( const FontInfo &f1, const FontInfo &f2 )
{
if ( f1.name() != f2.name() )
return false;