diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-07-15 21:59:04 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-07-15 22:03:48 +0100 |
commit | aa3eeb28bcba10d603c15ee850620bed638514f5 (patch) | |
tree | 7c3e84597ca40b733aa157a10a2b7a5352c2654f /dbaccess | |
parent | facd391b7fc46b330e4cbda25c33abed5e47604e (diff) |
Resolves: fdo#37279 and #i78701# startEditingAtNode does nothing
inherit class UnoTreeListItem from SvLBoxString instead of SvLBoxItem so that
it really isa SvLBoxString and can be edited with startEditingAtNode
a) remove the unused SvLBoxEntry argument to SvLBoxString's SetText
b) used rtl::OUString instead of XubString
c) rename aStr to maText
d) inherit UnoTreeListItem from SvLBoxString and drop its maText in
favour of that of SvLBoxEntry
Change-Id: Id78f43ae5be8cd6f581e6c2fd2bd6f46de9144ba
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/control/dbtreelistbox.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/control/dbtreelistbox.cxx b/dbaccess/source/ui/control/dbtreelistbox.cxx index 7e593f00759d..d73a435fe9e5 100644 --- a/dbaccess/source/ui/control/dbtreelistbox.cxx +++ b/dbaccess/source/ui/control/dbtreelistbox.cxx @@ -120,7 +120,7 @@ SvLBoxEntry* DBTreeListBox::GetEntryPosByName( const String& aName, SvLBoxEntry* { pEntry = static_cast<SvLBoxEntry*>((*pChildren)[ i ]); SvLBoxString* pItem = (SvLBoxString*)(pEntry->GetFirstItem(SV_ITEM_ID_LBOXSTRING)); - if ( pItem->GetText().Equals(aName) ) + if ( pItem->GetText().equals(aName) ) { if ( !_pFilter || _pFilter->includeEntry( pEntry ) ) // found |