Kaydet (Commit) a609822d authored tarafından Noel Grandin's avatar Noel Grandin

remove unused Link<> field

Change-Id: I4d9f7d0fb1a2621121aa26f1ddff0a04116bc561
üst 56de0d31
...@@ -192,7 +192,6 @@ IMPL_LINK_NOARG(OSqlEdit, ModifyHdl) ...@@ -192,7 +192,6 @@ IMPL_LINK_NOARG(OSqlEdit, ModifyHdl)
rController.InvalidateFeature(SID_CUT); rController.InvalidateFeature(SID_CUT);
rController.InvalidateFeature(SID_COPY); rController.InvalidateFeature(SID_COPY);
m_lnkTextModifyHdl.Call(NULL);
return 0; return 0;
} }
......
...@@ -41,9 +41,8 @@ namespace dbaui ...@@ -41,9 +41,8 @@ namespace dbaui
Timer m_timerInvalidate; Timer m_timerInvalidate;
Timer m_timerUndoActionCreation; Timer m_timerUndoActionCreation;
Link<> m_lnkTextModifyHdl;
OUString m_strOrigText; // is restored on undo 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_bAccelAction; // is set on cut, copy, paste
bool m_bStopTimer; bool m_bStopTimer;
svtools::ColorConfig m_ColorConfig; svtools::ColorConfig m_ColorConfig;
...@@ -79,10 +78,6 @@ namespace dbaui ...@@ -79,10 +78,6 @@ namespace dbaui
// To prevent this, SlotExec in View can call this function. // To prevent this, SlotExec in View can call this function.
bool IsInAccelAct() { return m_bAccelAction; } 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 stopTimer();
void startTimer(); void startTimer();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment