diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-04 14:13:00 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-05 06:42:40 +0000 |
commit | ff339c89b51ed571d55c762e43aa1a6ee9ada1cb (patch) | |
tree | 5ed1c9a8353037745ce49e5a97e696157a0dcbca /sfx2/source/view | |
parent | 3d6c84f2d9683b23c14fa5bf50ca4425cf4ceb04 (diff) |
loplugin:constantparam part2
Change-Id: I7ec4c946be52a6b56aee908426f95ecacc7b0746
Reviewed-on: https://gerrit.libreoffice.org/36072
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/view')
-rw-r--r-- | sfx2/source/view/viewfrm.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx index dc3772038758..6127ce8ab611 100644 --- a/sfx2/source/view/viewfrm.cxx +++ b/sfx2/source/view/viewfrm.cxx @@ -3028,15 +3028,14 @@ void SfxViewFrame::SetViewFrame( SfxViewFrame* pFrame ) VclPtr<SfxInfoBarWindow> SfxViewFrame::AppendInfoBar(const OUString& sId, const OUString& sMessage, - InfoBarType aInfoBarType, - WinBits nMessageStyle) + InfoBarType aInfoBarType) { SfxChildWindow* pChild = GetChildWindow(SfxInfoBarContainerChild::GetChildWindowId()); if (!pChild) return nullptr; SfxInfoBarContainerWindow* pInfoBarContainer = static_cast<SfxInfoBarContainerWindow*>(pChild->GetWindow()); - auto pInfoBar = pInfoBarContainer->appendInfoBar(sId, sMessage, aInfoBarType, nMessageStyle); + auto pInfoBar = pInfoBarContainer->appendInfoBar(sId, sMessage, aInfoBarType, WB_LEFT | WB_VCENTER); ShowChildWindow(SfxInfoBarContainerChild::GetChildWindowId()); return pInfoBar; } |