diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-05-11 12:50:44 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-05-11 12:50:44 +0200 |
commit | 77e6854ab3650a6cf6ee7edda7f6c61314cb106d (patch) | |
tree | 10d04eb8c3821249cd554886c942090a9026ba34 /sfx2/source/dialog | |
parent | f9e73fe26b3319c851e8d54dac0dbb2acc65f847 (diff) |
loplugin:cstylecast: nop between pointer types of exactly same spelling
Change-Id: I07aa70401391a4479d09907aa7e78a4fea894879
Diffstat (limited to 'sfx2/source/dialog')
-rw-r--r-- | sfx2/source/dialog/templdlg.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx index 373c2935dd27..ea8fe4dd369a 100644 --- a/sfx2/source/dialog/templdlg.cxx +++ b/sfx2/source/dialog/templdlg.cxx @@ -989,9 +989,9 @@ void SfxCommonTemplateDialog_Impl::SelectStyle(const OUString &rStr) bool bSelect = ! rStr.isEmpty(); if ( bSelect ) { - SvTreeListEntry* pEntry = (SvTreeListEntry*)aFmtLb->FirstVisible(); + SvTreeListEntry* pEntry = aFmtLb->FirstVisible(); while ( pEntry && aFmtLb->GetEntryText( pEntry ) != rStr ) - pEntry = (SvTreeListEntry*)aFmtLb->NextVisible( pEntry ); + pEntry = aFmtLb->NextVisible( pEntry ); if ( !pEntry ) bSelect = false; else |