summaryrefslogtreecommitdiff
path: root/include/vcl/print.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-16 08:49:35 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-03-16 08:42:37 +0000
commitf0f973da8560e16cba85d2c9465c3a8c4c0ebbb3 (patch)
tree0b6d78c3b16acc698dee15d83422a924be71097f /include/vcl/print.hxx
parent6eb91bdf75fe0085584efa6abf955c14c7acb9fd (diff)
loplugin:constantparams in vcl/
also some improvements to the plugin Change-Id: I0e3a519d70756e577fcb1bd47dd66864b5b4c871 Reviewed-on: https://gerrit.libreoffice.org/23289 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/vcl/print.hxx')
-rw-r--r--include/vcl/print.hxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/vcl/print.hxx b/include/vcl/print.hxx
index 7664bc47c237..55784a37d380 100644
--- a/include/vcl/print.hxx
+++ b/include/vcl/print.hxx
@@ -636,14 +636,13 @@ public:
UIControlOptions( const OUString& i_rDependsOnName = OUString(),
sal_Int32 i_nDependsOnEntry = -1, bool i_bAttachToDependency = false,
- const OUString& i_rGroupHint = OUString(), bool i_bInternalOnly = false,
- bool i_bEnabled = true)
+ const OUString& i_rGroupHint = OUString())
: maDependsOnName( i_rDependsOnName )
, mnDependsOnEntry( i_nDependsOnEntry )
, mbAttachToDependency( i_bAttachToDependency )
, maGroupHint( i_rGroupHint )
- , mbInternalOnly( i_bInternalOnly )
- , mbEnabled( i_bEnabled ) {}
+ , mbInternalOnly( false )
+ , mbEnabled( true ) {}
};
// note: in the following helper functions HelpIds are expected as an OUString