summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-05-11 12:50:57 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-05-11 12:50:57 +0200
commit47df2b2a2e13e44e45861d1e03c80632ae6777a5 (patch)
tree66ace75523722b42c1daedd2964bb0fbc15bd5da /include
parent15376a55f12edbe7e8517e85e16148bb395a2799 (diff)
loplugin:cstylecast: nop between pointer types of exactly same spelling
Change-Id: I3abfd98f165e2f3951cacc83fa578d442779107e
Diffstat (limited to 'include')
-rw-r--r--include/svtools/treelist.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/svtools/treelist.hxx b/include/svtools/treelist.hxx
index dfd6fbc146bf..0d784449002e 100644
--- a/include/svtools/treelist.hxx
+++ b/include/svtools/treelist.hxx
@@ -265,13 +265,13 @@ protected:
SvTreeList* pModel;
void ExpandListEntry( SvTreeListEntry* pParent )
- { SvTreeList::Expand((SvListView*)this,pParent); }
+ { SvTreeList::Expand(this,pParent); }
void CollapseListEntry( SvTreeListEntry* pParent )
- { SvTreeList::Collapse((SvListView*)this,pParent); }
+ { SvTreeList::Collapse(this,pParent); }
bool SelectListEntry( SvTreeListEntry* pEntry, bool bSelect )
- { return SvTreeList::Select((SvListView*)this,pEntry,bSelect); }
+ { return SvTreeList::Select(this,pEntry,bSelect); }
public:
SvListView(); // Sets the Model to 0
@@ -340,7 +340,7 @@ public:
// Does not call the Select Handler
virtual void SelectAll( bool bSelect, bool )
- { pModel->SelectAll((SvListView*)this, bSelect); }
+ { pModel->SelectAll(this, bSelect); }
bool IsEntryVisible( SvTreeListEntry* pEntry ) const
{ return pModel->IsEntryVisible(this,pEntry); }