summaryrefslogtreecommitdiff
path: root/sw/source/core/docnode/ndsect.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/core/docnode/ndsect.cxx
parent9672e6c81e1ded79ff964d0a0d667e4e172c4475 (diff)
loplugin:cstylecast: nop between pointer types of exactly same spelling
Change-Id: I0e42e757a6f7b0c28758193aad8b3cb01607b8b1
Diffstat (limited to 'sw/source/core/docnode/ndsect.cxx')
-rw-r--r--sw/source/core/docnode/ndsect.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/docnode/ndsect.cxx b/sw/source/core/docnode/ndsect.cxx
index 5f7b6df7aba1..71b418df1e48 100644
--- a/sw/source/core/docnode/ndsect.cxx
+++ b/sw/source/core/docnode/ndsect.cxx
@@ -885,7 +885,7 @@ SwSectionNode* SwNodes::InsertTextSection(SwNodeIndex const& rNdIdx,
pCpyTNd->MakeFrms( *pTNd );
}
else
- new SwTxtNode( aInsPos, (SwTxtFmtColl*)GetDoc()->GetDfltTxtFmtColl() );
+ new SwTxtNode( aInsPos, GetDoc()->GetDfltTxtFmtColl() );
}
new SwEndNode( aInsPos, *pSectNd );