summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2020-05-14 08:53:11 +0200
committerMichael Weghorn <m.weghorn@posteo.de>2020-05-14 09:57:42 +0200
commit68af4f050c5768ce30357cbc5f40e7bc031518c4 (patch)
tree672a5f859ac0b5c34e10f3148d3d709667e10013 /toolkit
parent11079fa85c9698ac333f43303636c4fff31b0976 (diff)
UnoEditControl: Don't initialize members twice
'mnMaxTextLen' and 'mbSetMaxTextLenInPeer' are already assigned the same values in the member initializer list. Change-Id: I498ff981c25f6b5395400c75ad8c7e0f20ff3a89 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94180 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/controls/unocontrols.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/toolkit/source/controls/unocontrols.cxx b/toolkit/source/controls/unocontrols.cxx
index 9d8cc4d0b960..945b1f7d7214 100644
--- a/toolkit/source/controls/unocontrols.cxx
+++ b/toolkit/source/controls/unocontrols.cxx
@@ -165,8 +165,6 @@ UnoEditControl::UnoEditControl()
{
maComponentInfos.nWidth = 100;
maComponentInfos.nHeight = 12;
- mnMaxTextLen = 0;
- mbSetMaxTextLenInPeer = false;
}
uno::Any SAL_CALL UnoEditControl::queryAggregation( const uno::Type & rType )