diff options
Diffstat (limited to 'dbaccess/source/ui/control/sqledit.cxx')
-rw-r--r-- | dbaccess/source/ui/control/sqledit.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dbaccess/source/ui/control/sqledit.cxx b/dbaccess/source/ui/control/sqledit.cxx index ff4007f729f9..bf4aa1f66df8 100644 --- a/dbaccess/source/ui/control/sqledit.cxx +++ b/dbaccess/source/ui/control/sqledit.cxx @@ -105,6 +105,11 @@ OSqlEdit::OSqlEdit( OQueryTextView* pParent, WinBits nWinStyle ) : OSqlEdit::~OSqlEdit() { + dispose(); +} + +void OSqlEdit::dispose() +{ if (m_timerUndoActionCreation.IsActive()) m_timerUndoActionCreation.Stop(); css::uno::Reference< css::beans::XMultiPropertySet > n; @@ -116,6 +121,7 @@ OSqlEdit::~OSqlEdit() n->removePropertiesChangeListener(m_listener.get()); } m_ColorConfig.RemoveListener(this); + MultiLineEditSyntaxHighlight::dispose(); } void OSqlEdit::KeyInput( const KeyEvent& rKEvt ) |