summaryrefslogtreecommitdiff
path: root/qt4
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2012-10-19 17:22:13 +0200
committerAlbert Astals Cid <aacid@kde.org>2012-10-19 17:22:13 +0200
commitbc4a54c0a4430216c9aeaf2c3bddbaeef5a004e4 (patch)
tree03ccdea0466f0ec86376a7dd4b6837854e17bd85 /qt4
parentf38194cfae8f8690bc3767cbdcf140519564366c (diff)
Compile with clang
Diffstat (limited to 'qt4')
-rw-r--r--qt4/tests/check_fonts.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/qt4/tests/check_fonts.cpp b/qt4/tests/check_fonts.cpp
index c57b6dab..c441632d 100644
--- a/qt4/tests/check_fonts.cpp
+++ b/qt4/tests/check_fonts.cpp
@@ -32,7 +32,9 @@ QList<Poppler::FontInfo> loadFontsViaIterator( Poppler::Document *doc, int from
return list;
}
-bool operator==( const Poppler::FontInfo &f1, const Poppler::FontInfo &f2 )
+namespace Poppler
+{
+bool operator==( const FontInfo &f1, const FontInfo &f2 )
{
if ( f1.name() != f2.name() )
return false;
@@ -48,7 +50,7 @@ bool operator==( const Poppler::FontInfo &f1, const Poppler::FontInfo &f2 )
return false;
return true;
}
-
+}
void TestFontsData::checkNoFonts()
{