[Libreoffice-commits] core.git: sfx2/source
Thorsten Behrens (via logerrit)
logerrit at kemper.freedesktop.org
Fri Jul 3 15:22:38 UTC 2020
sfx2/source/dialog/infobar.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit b1954b19bc52cf468319a8a93239e157852071ec
Author: Thorsten Behrens <Thorsten.Behrens at CIB.de>
AuthorDate: Fri Jul 3 09:56:06 2020 +0200
Commit: Thorsten Behrens <Thorsten.Behrens at CIB.de>
CommitDate: Fri Jul 3 17:21:39 2020 +0200
sfx2: cleanup cxx-only default params
Followup commit to a8ee7bc96fb90e21ecab46bf1269b9eac6bf8261 - not
idiomatic to have function-definition-only default params
Change-Id: I606545d7396ed1123247115e92ac2830a0738e34
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97813
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
diff --git a/sfx2/source/dialog/infobar.cxx b/sfx2/source/dialog/infobar.cxx
index 8fbb61c23443..fd64691ffa99 100644
--- a/sfx2/source/dialog/infobar.cxx
+++ b/sfx2/source/dialog/infobar.cxx
@@ -184,8 +184,7 @@ void SfxCloseButton::setForegroundColor(const basegfx::BColor& rColor)
SfxInfoBarWindow::SfxInfoBarWindow(vcl::Window* pParent, const OUString& sId,
const OUString& sPrimaryMessage,
const OUString& sSecondaryMessage, InfobarType ibType,
- WinBits nMessageStyle = WB_LEFT | WB_VCENTER,
- bool bShowCloseButton = true)
+ WinBits nMessageStyle, bool bShowCloseButton)
: Window(pParent, WB_DIALOGCONTROL)
, m_sId(sId)
, m_eType(ibType)
More information about the Libreoffice-commits
mailing list