diff options
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/control/sqledit.cxx | 1 | ||||
-rw-r--r-- | dbaccess/source/ui/inc/sqledit.hxx | 7 |
2 files changed, 1 insertions, 7 deletions
diff --git a/dbaccess/source/ui/control/sqledit.cxx b/dbaccess/source/ui/control/sqledit.cxx index 612255739b08..bb6b3cde2ab2 100644 --- a/dbaccess/source/ui/control/sqledit.cxx +++ b/dbaccess/source/ui/control/sqledit.cxx @@ -192,7 +192,6 @@ IMPL_LINK_NOARG(OSqlEdit, ModifyHdl) rController.InvalidateFeature(SID_CUT); rController.InvalidateFeature(SID_COPY); - m_lnkTextModifyHdl.Call(NULL); return 0; } diff --git a/dbaccess/source/ui/inc/sqledit.hxx b/dbaccess/source/ui/inc/sqledit.hxx index 3d1495f37762..d33b0379eb9e 100644 --- a/dbaccess/source/ui/inc/sqledit.hxx +++ b/dbaccess/source/ui/inc/sqledit.hxx @@ -41,9 +41,8 @@ namespace dbaui Timer m_timerInvalidate; Timer m_timerUndoActionCreation; - Link<> m_lnkTextModifyHdl; OUString m_strOrigText; // is restored on undo - VclPtr<OQueryTextView> m_pView; + VclPtr<OQueryTextView> m_pView; bool m_bAccelAction; // is set on cut, copy, paste bool m_bStopTimer; svtools::ColorConfig m_ColorConfig; @@ -79,10 +78,6 @@ namespace dbaui // To prevent this, SlotExec in View can call this function. bool IsInAccelAct() { return m_bAccelAction; } - void SetTextModifyHdl(const Link<>& lnk) { m_lnkTextModifyHdl = lnk; } - // please don't use SetModifyHdl, I need it for myself, this here is called from the handler set with that - // the link gets a pointer-to-string, which is invalid after the link - void stopTimer(); void startTimer(); |