diff options
-rw-r--r-- | sc/source/ui/inc/navipi.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/navipi/navipi.cxx | 10 |
2 files changed, 12 insertions, 0 deletions
diff --git a/sc/source/ui/inc/navipi.hxx b/sc/source/ui/inc/navipi.hxx index 1c8493432592..ac588dd5f7cd 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 e01d9e2db59a..2443250c133a 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; |