summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2012-10-23 00:22:55 +0200
committerAlbert Astals Cid <aacid@kde.org>2012-10-23 00:22:55 +0200
commit46fb3653c7ae44c34d12d799df8f70d649eaa995 (patch)
treeb5c662d356fba39d1ac85d0ac411dbcdbedf4615
parent5312984b40355b067001704e9c688ea0a72b1159 (diff)
Fix the or-ing of flags
-rw-r--r--qt4/src/poppler-document.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt4/src/poppler-document.cc b/qt4/src/poppler-document.cc
index 550e7067..e89b51e1 100644
--- a/qt4/src/poppler-document.cc
+++ b/qt4/src/poppler-document.cc
@@ -1,7 +1,7 @@
/* poppler-document.cc: qt interface to poppler
* Copyright (C) 2005, Net Integration Technologies, Inc.
* Copyright (C) 2005, 2008, Brad Hards <bradh@frogmouth.net>
- * Copyright (C) 2005-2010, Albert Astals Cid <aacid@kde.org>
+ * Copyright (C) 2005-2010, 2012, Albert Astals Cid <aacid@kde.org>
* Copyright (C) 2006-2010, Pino Toscano <pino@kde.org>
* Copyright (C) 2010, 2011 Hib Eris <hib@hiberis.nl>
* Copyright (C) 2012 Koji Otani <sho@bbr.jp>
@@ -526,7 +526,7 @@ namespace Poppler {
// the only way to set antialiasing for Splash is on creation
if ( m_doc->m_backend == Document::SplashBackend &&
- ( hint & ( Document::Antialiasing || Document::TextAntialiasing || Document::TextHinting ) ) )
+ ( hint & ( Document::Antialiasing | Document::TextAntialiasing | Document::TextHinting ) ) )
{
delete m_doc->m_outputDev;
m_doc->m_outputDev = NULL;