Fix reference to temporary in kdegraphics

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1258283 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru v3.5.13
tpearson 13 years ago
parent 98909bff33
commit 31c447f30b

@ -287,7 +287,8 @@ void DocumentWidget::paintEvent(TQPaintEvent *e)
if (KVSPrefs::changeColors() && KVSPrefs::renderMode() != KVSPrefs::EnumRenderMode::Paper) if (KVSPrefs::changeColors() && KVSPrefs::renderMode() != KVSPrefs::EnumRenderMode::Paper)
{ {
// Paint widget contents with accessibility changes. // Paint widget contents with accessibility changes.
bitBlt ( this, destRect.topLeft(), &pageData->accessiblePixmap(), pixmapRect, CopyROP); TQPixmap pdap = pageData->accessiblePixmap();
bitBlt ( this, destRect.topLeft(), &pdap, pixmapRect, CopyROP);
} }
else else
{ {

Loading…
Cancel
Save