summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-09-17 08:38:27 +0200
committerNoel Grandin <noel@peralex.com>2015-09-17 12:22:46 +0200
commitb1263112b6bda61f6571727e61cc6e660f9d2d33 (patch)
treea3dcabbd2e7c4de4ef6722e6ada06214e8c7a3c0 /dbaccess
parentd048ba568fd54d8f1839fddc37ed4b75f1d01064 (diff)
remove unused Link<> fields
Change-Id: I25bcec20f3a981ea681e29a0a1ef0726fa5e7e1c
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/control/dbtreelistbox.cxx9
-rw-r--r--dbaccess/source/ui/inc/dbtreelistbox.hxx2
2 files changed, 2 insertions, 9 deletions
diff --git a/dbaccess/source/ui/control/dbtreelistbox.cxx b/dbaccess/source/ui/control/dbtreelistbox.cxx
index 6ce7320e1417..cd213baa4a3e 100644
--- a/dbaccess/source/ui/control/dbtreelistbox.cxx
+++ b/dbaccess/source/ui/control/dbtreelistbox.cxx
@@ -378,9 +378,9 @@ void DBTreeListBox::KeyInput( const KeyEvent& rKEvt )
SvTreeListBox::KeyInput(rKEvt);
}
-bool DBTreeListBox::EditingEntry( SvTreeListEntry* pEntry, Selection& /*_aSelection*/)
+bool DBTreeListBox::EditingEntry( SvTreeListEntry* /*pEntry*/, Selection& /*_aSelection*/)
{
- return m_aEditingHandler.Call(pEntry) != 0;
+ return false;
}
bool DBTreeListBox::EditedEntry( SvTreeListEntry* pEntry, const OUString& rNewText )
@@ -388,11 +388,6 @@ bool DBTreeListBox::EditedEntry( SvTreeListEntry* pEntry, const OUString& rNewTe
DBTreeEditedEntry aEntry;
aEntry.pEntry = pEntry;
aEntry.aNewText = rNewText;
- if(m_aEditedHandler.Call(&aEntry) != 0)
- {
- implStopSelectionTimer();
- m_aSelectedEntries.erase( pEntry );
- }
SetEntryText(pEntry,aEntry.aNewText);
return false; // we never want that the base change our text
diff --git a/dbaccess/source/ui/inc/dbtreelistbox.hxx b/dbaccess/source/ui/inc/dbtreelistbox.hxx
index 477276ccd640..61997c26816e 100644
--- a/dbaccess/source/ui/inc/dbtreelistbox.hxx
+++ b/dbaccess/source/ui/inc/dbtreelistbox.hxx
@@ -66,8 +66,6 @@ namespace dbaui
Link<LinkParamNone*,void> m_aCopyHandler; // called when someone press CTRL+C
Link<LinkParamNone*,void> m_aPasteHandler; // called when someone press CTRL+V
Link<LinkParamNone*,void> m_aDeleteHandler; // called when someone press DELETE Key
- Link<> m_aEditingHandler; // called before someone will edit an entry
- Link<> m_aEditedHandler; // called after someone edited an entry
Link<> m_aEnterKeyHdl;
bool m_bHandleEnterKey;