diff options
author | Albert Astals Cid <aacid@kde.org> | 2012-10-19 17:22:13 +0200 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2012-10-19 17:22:13 +0200 |
commit | bc4a54c0a4430216c9aeaf2c3bddbaeef5a004e4 (patch) | |
tree | 03ccdea0466f0ec86376a7dd4b6837854e17bd85 /qt4 | |
parent | f38194cfae8f8690bc3767cbdcf140519564366c (diff) |
Compile with clang
Diffstat (limited to 'qt4')
-rw-r--r-- | qt4/tests/check_fonts.cpp | 6 |
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() { |