summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-09-17 09:00:08 +0200
committerNoel Grandin <noel@peralex.com>2015-09-17 12:22:46 +0200
commita609822d5e773fb5ba88352781295cb2ad99a585 (patch)
tree1e49ce32b365904944de2e5b0d0be0b065cf3e6f /dbaccess
parent56de0d310f4b31fd4501460344b7e8f4458a53ee (diff)
remove unused Link<> field
Change-Id: I4d9f7d0fb1a2621121aa26f1ddff0a04116bc561
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/control/sqledit.cxx1
-rw-r--r--dbaccess/source/ui/inc/sqledit.hxx7
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();