summaryrefslogtreecommitdiff
path: root/sw/source/uibase/utlui/uitool.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-05-11 12:51:13 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-05-11 12:51:13 +0200
commit80c2dfa225a3e082b0a7fdab95cfed3eef17d0c1 (patch)
tree4f09be4300e0c2a580516b62e8038244770e58d7 /sw/source/uibase/utlui/uitool.cxx
parent9672e6c81e1ded79ff964d0a0d667e4e172c4475 (diff)
loplugin:cstylecast: nop between pointer types of exactly same spelling
Change-Id: I0e42e757a6f7b0c28758193aad8b3cb01607b8b1
Diffstat (limited to 'sw/source/uibase/utlui/uitool.cxx')
-rw-r--r--sw/source/uibase/utlui/uitool.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/utlui/uitool.cxx b/sw/source/uibase/utlui/uitool.cxx
index 9a134a4efefd..d7b30ac76096 100644
--- a/sw/source/uibase/utlui/uitool.cxx
+++ b/sw/source/uibase/utlui/uitool.cxx
@@ -420,7 +420,7 @@ void ItemSetToPageDesc( const SfxItemSet& rSet, SwPageDesc& rPageDesc )
pColl = rDoc.getIDocumentStylePoolAccess().GetTxtCollFromPool( nId );
else
pColl = rDoc.MakeTxtFmtColl( rColl,
- (SwTxtFmtColl*)rDoc.GetDfltTxtFmtColl() );
+ rDoc.GetDfltTxtFmtColl() );
}
if( pColl )
pColl->SetFmtAttr( SwRegisterItem ( true ));