summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorThorsten Behrens <Thorsten.Behrens@CIB.de>2020-07-03 09:56:06 +0200
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2020-07-03 17:21:39 +0200
commitb1954b19bc52cf468319a8a93239e157852071ec (patch)
tree067fa354bb38a77216d522ca4ed07a514b4d5c52 /sfx2
parentb1d0d0cf866ac7235cd23ff862a8f2e9085148d8 (diff)
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@CIB.de>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/dialog/infobar.cxx3
1 files changed, 1 insertions, 2 deletions
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)