summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2013-11-11 18:08:57 +0100
committerJan Holesovsky <kendy@collabora.com>2013-11-11 19:50:29 +0100
commite404d2ed59c7b1b85b750e687226e29031dc9b7d (patch)
tree36fbb67aabfd16d7ef0952895d94b443a87136c5 /sfx2
parent10ea40afa3d6804a4a6f816f10f71a93412328fa (diff)
startcenter: Paint either the welcome, or the recent docs.
Otherwise the background will paint over the graphics... Change-Id: Ic62c563026daa9c4173148cd68652d8aba608089
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/control/recentdocsview.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sfx2/source/control/recentdocsview.cxx b/sfx2/source/control/recentdocsview.cxx
index 155c11ea5f03..cfbfe99dc942 100644
--- a/sfx2/source/control/recentdocsview.cxx
+++ b/sfx2/source/control/recentdocsview.cxx
@@ -265,7 +265,8 @@ void RecentDocsView::Paint( const Rectangle &aRect )
DrawText(aStrPoint, aStr);
SetFont(aOldFont);
}
- ThumbnailView::Paint(aRect);
+ else
+ ThumbnailView::Paint(aRect);
}
void RecentDocsView::SetThumbnailSize(long thumbnailSize)