toolkit/source/controls/unocontrols.cxx | 2 -- 1 file changed, 2 deletions(-)
New commits: commit 68af4f050c5768ce30357cbc5f40e7bc031518c4 Author: Michael Weghorn <m.wegh...@posteo.de> AuthorDate: Thu May 14 08:53:11 2020 +0200 Commit: Michael Weghorn <m.wegh...@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.wegh...@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 ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits