diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-02-17 15:08:48 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-02-17 16:47:36 +0100 |
commit | 9da5675de3ca8a047bf45fd601522a6337efb78e (patch) | |
tree | d0325e2a0974ebdb9fb6b8829b931215d7913947 /sfx2/source/view/viewfrm.cxx | |
parent | 03f20846eb4219947e93cf48a5e0c46398bd8a04 (diff) |
sfx2 infobar: allow setting the message color
Change-Id: I32bb73dfd8ecb78bb2eb9907b0c008e84fd2233a
Diffstat (limited to 'sfx2/source/view/viewfrm.cxx')
-rw-r--r-- | sfx2/source/view/viewfrm.cxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx index 068bbcd891bb..65b8b0cc9fd1 100644 --- a/sfx2/source/view/viewfrm.cxx +++ b/sfx2/source/view/viewfrm.cxx @@ -3191,7 +3191,11 @@ void SfxViewFrame::SetViewFrame( SfxViewFrame* pFrame ) SfxGetpApp()->SetViewFrame_Impl( pFrame ); } -SfxInfoBarWindow* SfxViewFrame::AppendInfoBar( const OUString& sId, const OUString& sMessage, const basegfx::BColor* pBackgroundColor, const basegfx::BColor* pForegroundColor ) +SfxInfoBarWindow* SfxViewFrame::AppendInfoBar( const OUString& sId, + const OUString& sMessage, + const basegfx::BColor* pBackgroundColor, + const basegfx::BColor* pForegroundColor, + const basegfx::BColor* pMessageColor ) { const sal_uInt16 nId = SfxInfoBarContainerChild::GetChildWindowId(); @@ -3203,7 +3207,7 @@ SfxInfoBarWindow* SfxViewFrame::AppendInfoBar( const OUString& sId, const OUStri if (pChild) { SfxInfoBarContainerWindow* pInfoBarContainer = static_cast<SfxInfoBarContainerWindow*>(pChild->GetWindow()); - SfxInfoBarWindow* pInfoBar = pInfoBarContainer->appendInfoBar(sId, sMessage, pBackgroundColor, pForegroundColor); + SfxInfoBarWindow* pInfoBar = pInfoBarContainer->appendInfoBar(sId, sMessage, pBackgroundColor, pForegroundColor, pMessageColor); ShowChildWindow(nId); return pInfoBar; } |