summaryrefslogtreecommitdiff
path: root/sw/source/core/swg
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-05-29 12:05:00 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-05-29 12:05:00 +0200
commit148953244fc8d741ef84ef777ad566ae80edd28a (patch)
tree807234f01238659c42e87bd1975e6c091f5e89e0 /sw/source/core/swg
parent5dc811daf9ea03dfccabec3a80a44bd12fa62d66 (diff)
loplugin:redundantcast: const_cast to same type
Change-Id: I7cb919140539d0d573b5fbf786a6041843c2388a
Diffstat (limited to 'sw/source/core/swg')
-rw-r--r--sw/source/core/swg/swblocks.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/swg/swblocks.cxx b/sw/source/core/swg/swblocks.cxx
index 333cc1edad84..15dd6d36a5b1 100644
--- a/sw/source/core/swg/swblocks.cxx
+++ b/sw/source/core/swg/swblocks.cxx
@@ -544,7 +544,7 @@ bool SwTextBlocks::IsOnlyTextBlock( sal_uInt16 nIdx ) const
bool bRet = false;
if( pImp && !pImp->bInPutMuchBlocks )
{
- SwBlockName* pBlkNm = const_cast<SwBlockName*>( pImp->aNames[ nIdx ] );
+ SwBlockName* pBlkNm = pImp->aNames[ nIdx ];
if( !pBlkNm->bIsOnlyTextFlagInit &&
!pImp->IsFileChanged() && !pImp->OpenFile( true ) )
{