diff options
author | Noel Grandin <noel@peralex.com> | 2014-11-24 10:39:29 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-11-25 10:09:51 +0200 |
commit | 0f29e157abf237055004c7b9bc1d171a78c0c27e (patch) | |
tree | fea231a08e4687e54700a7aa2addff3a9132a7b9 /sw/source/core/text/porexp.cxx | |
parent | c7ab37e17c514b1c86fca10ff8734e9752f458fa (diff) |
loplugin: cstylecast
Change-Id: I49d14ec4247984e78aafe90528c2919488233fe7
Diffstat (limited to 'sw/source/core/text/porexp.cxx')
-rw-r--r-- | sw/source/core/text/porexp.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/text/porexp.cxx b/sw/source/core/text/porexp.cxx index fe90c4d33047..f3518494e017 100644 --- a/sw/source/core/text/porexp.cxx +++ b/sw/source/core/text/porexp.cxx @@ -119,7 +119,7 @@ sal_uInt16 SwBlankPortion::MayUnderflow( const SwTxtFormatInfo &rInf, // wenn hinter uns ein Blank ist, brauchen wir kein Underflow weiterreichen if (bUnderflow && nIdx + 1 < rInf.GetTxt().getLength() && CH_BLANK == rInf.GetTxt()[nIdx + 1]) return 0; - if( nIdx && !((SwTxtFormatInfo&)rInf).GetFly() ) + if( nIdx && !const_cast<SwTxtFormatInfo&>(rInf).GetFly() ) { while( pPos && !pPos->IsFlyPortion() ) pPos = pPos->GetPortion(); |