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

remove unused Link<> fields

Change-Id: I25bcec20f3a981ea681e29a0a1ef0726fa5e7e1c
üst d048ba56
...@@ -378,9 +378,9 @@ void DBTreeListBox::KeyInput( const KeyEvent& rKEvt ) ...@@ -378,9 +378,9 @@ void DBTreeListBox::KeyInput( const KeyEvent& rKEvt )
SvTreeListBox::KeyInput(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 ) bool DBTreeListBox::EditedEntry( SvTreeListEntry* pEntry, const OUString& rNewText )
...@@ -388,11 +388,6 @@ bool DBTreeListBox::EditedEntry( SvTreeListEntry* pEntry, const OUString& rNewTe ...@@ -388,11 +388,6 @@ bool DBTreeListBox::EditedEntry( SvTreeListEntry* pEntry, const OUString& rNewTe
DBTreeEditedEntry aEntry; DBTreeEditedEntry aEntry;
aEntry.pEntry = pEntry; aEntry.pEntry = pEntry;
aEntry.aNewText = rNewText; aEntry.aNewText = rNewText;
if(m_aEditedHandler.Call(&aEntry) != 0)
{
implStopSelectionTimer();
m_aSelectedEntries.erase( pEntry );
}
SetEntryText(pEntry,aEntry.aNewText); SetEntryText(pEntry,aEntry.aNewText);
return false; // we never want that the base change our text return false; // we never want that the base change our text
......
...@@ -66,8 +66,6 @@ namespace dbaui ...@@ -66,8 +66,6 @@ namespace dbaui
Link<LinkParamNone*,void> m_aCopyHandler; // called when someone press CTRL+C 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_aPasteHandler; // called when someone press CTRL+V
Link<LinkParamNone*,void> m_aDeleteHandler; // called when someone press DELETE Key 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; Link<> m_aEnterKeyHdl;
bool m_bHandleEnterKey; bool m_bHandleEnterKey;
......
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