sc/source/ui/inc/navipi.hxx | 2 ++ sc/source/ui/navipi/navipi.cxx | 10 ++++++++++ 2 files changed, 12 insertions(+)
New commits: commit 98be23b2e6f4e62a0d3681996cdcacb0f7fa16c4 Author: Stephan Bergmann <sberg...@redhat.com> Date: Sat Oct 8 08:30:35 2016 +0200 loplugin:vclwidgets Change-Id: I4f11af544daa2d973ccae27c49dc0143944b9c40 diff --git a/sc/source/ui/inc/navipi.hxx b/sc/source/ui/inc/navipi.hxx index 1c84934..ac588dd 100644 --- a/sc/source/ui/inc/navipi.hxx +++ b/sc/source/ui/inc/navipi.hxx @@ -111,6 +111,7 @@ class ColumnEdit : public SpinField { public: ColumnEdit(Window* pParent, WinBits nWinBits); + ~ColumnEdit() override; void SetNavigatorDlg(ScNavigatorDlg *pNaviDlg) { xDlg = pNaviDlg; @@ -142,6 +143,7 @@ class RowEdit : public NumericField { public: RowEdit(Window* pParent, WinBits nWinBits); + ~RowEdit() override; void SetNavigatorDlg(ScNavigatorDlg *pNaviDlg) { xDlg = pNaviDlg; diff --git a/sc/source/ui/navipi/navipi.cxx b/sc/source/ui/navipi/navipi.cxx index e01d9e2..2443250 100644 --- a/sc/source/ui/navipi/navipi.cxx +++ b/sc/source/ui/navipi/navipi.cxx @@ -78,6 +78,11 @@ ColumnEdit::ColumnEdit(Window* pParent, WinBits nWinBits) SetMaxTextLen(SCNAV_COLDIGITS); // 1...256...18278 or A...IV...ZZZ } +ColumnEdit::~ColumnEdit() +{ + disposeOnce(); +} + VCL_BUILDER_DECL_FACTORY(ColumnEdit) { (void)rMap; @@ -254,6 +259,11 @@ RowEdit::RowEdit(Window* pParent, WinBits nWinBits) SetLast(SCNAV_MAXROW); } +RowEdit::~RowEdit() +{ + disposeOnce(); +} + VCL_BUILDER_DECL_FACTORY(RowEdit) { (void)rMap; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits