summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-10-11 06:27:20 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-10-11 06:27:20 +0000
commit31c447f30b1c4804e25f2579d65c5678ee5b3b79 (patch)
treea126c703751900c57cc7b846b74992cfe97dbb54
parent98909bff33122d6b2c43c219450f93f8a3daa39e (diff)
downloadtdegraphics-31c447f30b1c4804e25f2579d65c5678ee5b3b79.tar.gz
tdegraphics-31c447f30b1c4804e25f2579d65c5678ee5b3b79.zip
Fix reference to temporary in kdegraphicsv3.5.13
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1258283 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r--kviewshell/documentWidget.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/kviewshell/documentWidget.cpp b/kviewshell/documentWidget.cpp
index f92da793..f370daba 100644
--- a/kviewshell/documentWidget.cpp
+++ b/kviewshell/documentWidget.cpp
@@ -287,7 +287,8 @@ void DocumentWidget::paintEvent(TQPaintEvent *e)
if (KVSPrefs::changeColors() && KVSPrefs::renderMode() != KVSPrefs::EnumRenderMode::Paper)
{
// 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
{