summaryrefslogtreecommitdiff
path: root/sw/source/filter/ascii
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-12-01 10:16:19 +0200
committerNoel Grandin <noel@peralex.com>2014-12-02 09:32:08 +0200
commitd08c6a829690c984a2f7389c85456e258a99235d (patch)
treecf3ab473f879bc3ffe7114efbfef3decef341d57 /sw/source/filter/ascii
parent67076bc839a2c415f9c08b29d9c10d5fec09d018 (diff)
loplugin: cstylecast
Change-Id: I266f8cdc113a08bf224bc8b2c858f5105aeaa87a
Diffstat (limited to 'sw/source/filter/ascii')
-rw-r--r--sw/source/filter/ascii/ascatr.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ascii/ascatr.cxx b/sw/source/filter/ascii/ascatr.cxx
index ab0431f572c8..0be50d3db442 100644
--- a/sw/source/filter/ascii/ascatr.cxx
+++ b/sw/source/filter/ascii/ascatr.cxx
@@ -169,7 +169,7 @@ bool SwASC_AttrIter::OutAttr( sal_Int32 nSwPos )
static Writer& OutASC_SwTxtNode( Writer& rWrt, SwCntntNode& rNode )
{
- const SwTxtNode& rNd = (SwTxtNode&)rNode;
+ const SwTxtNode& rNd = static_cast<SwTxtNode&>(rNode);
sal_Int32 nStrPos = rWrt.pCurPam->GetPoint()->nContent.GetIndex();
const sal_Int32 nNodeEnd = rNd.Len();
@@ -178,7 +178,7 @@ static Writer& OutASC_SwTxtNode( Writer& rWrt, SwCntntNode& rNode )
if( bLastNd )
nEnd = rWrt.pCurPam->GetMark()->nContent.GetIndex();
- SwASC_AttrIter aAttrIter( (SwASCWriter&)rWrt, rNd, nStrPos );
+ SwASC_AttrIter aAttrIter( static_cast<SwASCWriter&>(rWrt), rNd, nStrPos );
if( !nStrPos && rWrt.bExportPargraphNumbering )
{