summaryrefslogtreecommitdiff
path: root/sw/source/core/text/porexp.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-11-24 10:39:29 +0200
committerNoel Grandin <noel@peralex.com>2014-11-25 10:09:51 +0200
commit0f29e157abf237055004c7b9bc1d171a78c0c27e (patch)
treefea231a08e4687e54700a7aa2addff3a9132a7b9 /sw/source/core/text/porexp.cxx
parentc7ab37e17c514b1c86fca10ff8734e9752f458fa (diff)
loplugin: cstylecast
Change-Id: I49d14ec4247984e78aafe90528c2919488233fe7
Diffstat (limited to 'sw/source/core/text/porexp.cxx')
-rw-r--r--sw/source/core/text/porexp.cxx2
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();