diff options
author | Jan Holesovsky <kendy@collabora.com> | 2015-06-30 16:46:02 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2015-06-30 17:57:39 +0200 |
commit | 7387cdbc41924a85cc48e6b68563c91e35b3915c (patch) | |
tree | 1c69a513b353fcc210d1052f0eab8afd14c2e231 /sfx2/source/control/recentdocsview.cxx | |
parent | aef5e0a90cdfd37c2228a9959adee2efd543a717 (diff) |
tdf#90452: The correct color for the message when there's no recent file yet.
Change-Id: I5a990643903946ea339136fbc514ca8cb90fa34e
Diffstat (limited to 'sfx2/source/control/recentdocsview.cxx')
-rw-r--r-- | sfx2/source/control/recentdocsview.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sfx2/source/control/recentdocsview.cxx b/sfx2/source/control/recentdocsview.cxx index b396719d19ff..b6afefa2bdec 100644 --- a/sfx2/source/control/recentdocsview.cxx +++ b/sfx2/source/control/recentdocsview.cxx @@ -267,8 +267,9 @@ void RecentDocsView::Paint(vcl::RenderContext& rRenderContext, const Rectangle & if (mItemList.empty()) { // No recent files to be shown yet. Show a welcome screen. - rRenderContext.Push(PushFlags::FONT); + rRenderContext.Push(PushFlags::FONT | PushFlags::TEXTCOLOR); SetMessageFont(rRenderContext); + SetTextColor(maTextColor); long nTextHeight = rRenderContext.GetTextHeight(); |