[Libreoffice-commits] core.git: toolkit/source
Michael Weghorn (via logerrit)
logerrit at kemper.freedesktop.org
Thu May 14 07:58:20 UTC 2020
toolkit/source/controls/unocontrols.cxx | 2 --
1 file changed, 2 deletions(-)
New commits:
commit 68af4f050c5768ce30357cbc5f40e7bc031518c4
Author: Michael Weghorn <m.weghorn at posteo.de>
AuthorDate: Thu May 14 08:53:11 2020 +0200
Commit: Michael Weghorn <m.weghorn at posteo.de>
CommitDate: Thu May 14 09:57:42 2020 +0200
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 at posteo.de>
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 )
More information about the Libreoffice-commits
mailing list