summaryrefslogtreecommitdiff
path: root/qt
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2006-05-23 20:49:16 +0000
committerAlbert Astals Cid <aacid@kde.org>2006-05-23 20:49:16 +0000
commit6f5a89a0a2cf17d45d1c31ce105829be8c7ac456 (patch)
tree660ebe54d1976344b590e82c84175543797c3ce8 /qt
parent495d592c3ba7fe81e03774f5b2ed677e5aa560c7 (diff)
* poppler/SplashOutputDev.cc:
* qt4/src/poppler-private.h: * splash/Splash.cc: * splash/SplashBitmap.cc: * splash/SplashTypes.h: bring splashModeRGB8 back to the old code (before Frank's patch), create splashModeRGB8Qt that has Frank's codepath and is used by Qt frontends. Fixes corruption on other programs expecting the old behaviour. Remember dude we are now a lib! you can not change behaviour from one day to another! /me hits himself
Diffstat (limited to 'qt')
-rw-r--r--qt/poppler-private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt/poppler-private.h b/qt/poppler-private.h
index c376d18b..42c0fd04 100644
--- a/qt/poppler-private.h
+++ b/qt/poppler-private.h
@@ -41,7 +41,7 @@ class DocumentData {
white[0] = 255;
white[1] = 255;
white[2] = 255;
- m_outputDev = new SplashOutputDev(splashModeRGB8, 4, gFalse, white);
+ m_outputDev = new SplashOutputDev(splashModeRGB8Qt, 4, gFalse, white);
m_outputDev->startDoc(doc.getXRef());
}
return m_outputDev;