summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorNoel <noel.grandin@collabora.co.uk>2021-02-23 14:35:04 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-02-23 17:43:06 +0100
commit4b9ad812facbd9416d9658325791bad3ab48934d (patch)
tree69da14f9b8d1b5987a4b567fb793269ce3f886b9 /vcl/source
parenta3f83ecbeab33244b526ec68ca0f2034745a6371 (diff)
loplugin:constantparam
Change-Id: Ieaee9a3e3ef4aa9bc390ddb198ee1718f635bcbf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111391 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/control/button.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx
index 88cf261de242..c19c29c5c750 100644
--- a/vcl/source/control/button.cxx
+++ b/vcl/source/control/button.cxx
@@ -1748,8 +1748,8 @@ void CancelButton::Click()
}
}
-CloseButton::CloseButton( vcl::Window* pParent, WinBits nStyle )
- : CancelButton(pParent, nStyle)
+CloseButton::CloseButton( vcl::Window* pParent )
+ : CancelButton(pParent, 0)
{
SetText( GetStandardText( StandardButtonType::Close ) );
}