summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-25 15:48:53 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-25 15:51:21 +0100
commit199705b37b129c7e215ea9a5288f9cefbb55a81a (patch)
tree49b7403800c65dc1c30aacc65b982d52eebc6c37 /svtools
parenta59e5ecd611ddd41cec6d9c78773f55887df67e6 (diff)
Clean up confusing name clashes of non-virtual SvListView member functions
...Expand/Collapse/Select with virtual functions of the same names in derived classes. Change-Id: Id2c7e434cc972ac8a789c60ceaf54dc76246be12
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/contnr/treelistbox.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/svtools/source/contnr/treelistbox.cxx b/svtools/source/contnr/treelistbox.cxx
index 9408012b9ee6..d194ebe04921 100644
--- a/svtools/source/contnr/treelistbox.cxx
+++ b/svtools/source/contnr/treelistbox.cxx
@@ -2499,7 +2499,7 @@ sal_Bool SvTreeListBox::Expand( SvTreeListEntry* pParent )
if( ExpandingHdl() )
{
bExpanded = sal_True;
- SvListView::Expand( pParent );
+ ExpandListEntry( pParent );
pImp->EntryExpanded( pParent );
pHdlEntry = pParent;
ExpandedHdl();
@@ -2537,7 +2537,7 @@ sal_Bool SvTreeListBox::Collapse( SvTreeListEntry* pParent )
{
bCollapsed = sal_True;
pImp->CollapsingEntry( pParent );
- SvListView::Collapse( pParent );
+ CollapseListEntry( pParent );
pImp->EntryCollapsed( pParent );
pHdlEntry = pParent;
ExpandedHdl();
@@ -2556,7 +2556,7 @@ sal_Bool SvTreeListBox::Select( SvTreeListEntry* pEntry, sal_Bool bSelect )
{
DBG_CHKTHIS(SvTreeListBox,0);
DBG_ASSERT(pEntry,"Select: Null-Ptr");
- sal_Bool bRetVal = SvListView::Select( pEntry, bSelect );
+ sal_Bool bRetVal = SelectListEntry( pEntry, bSelect );
DBG_ASSERT(IsSelected(pEntry)==bSelect,"Select failed");
if( bRetVal )
{
@@ -2819,9 +2819,9 @@ void SvTreeListBox::EditItemText( SvTreeListEntry* pEntry, SvLBoxString* pItem,
if( IsSelected( pEntry ))
{
pImp->ShowCursor( false );
- SvListView::Select( pEntry, sal_False );
+ SelectListEntry( pEntry, sal_False );
PaintEntry( pEntry );
- SvListView::Select( pEntry, sal_True );
+ SelectListEntry( pEntry, sal_True );
pImp->ShowCursor( true );
}
pEdEntry = pEntry;