summaryrefslogtreecommitdiff
path: root/sw/source/core/text/itradj.cxx
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2014-11-20 21:02:17 +0100
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2014-11-21 15:44:59 +0100
commitcd5269ea73eff410288c779c6f4cde3c5af290ed (patch)
tree2aa0e88e9541a8ad6f034dd64eba12e69884f5ca /sw/source/core/text/itradj.cxx
parent721edde36b98a878a6d0031119fdae74fc6fb010 (diff)
dead increment (clang)
Change-Id: Ic705fc00b213aebe3c59f349bbd37f0dcb8cc351
Diffstat (limited to 'sw/source/core/text/itradj.cxx')
-rw-r--r--sw/source/core/text/itradj.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/sw/source/core/text/itradj.cxx b/sw/source/core/text/itradj.cxx
index b2af4d626a75..e86d90462d57 100644
--- a/sw/source/core/text/itradj.cxx
+++ b/sw/source/core/text/itradj.cxx
@@ -513,12 +513,6 @@ SwTwips SwTxtAdjuster::CalcKanaAdj( SwLineLayout* pCurrent )
}
else if( pPos->InGlueGrp() && pPos->InFixMargGrp() )
{
- if( nCompress )
- {
- nKanaDiffSum *= nCompress;
- nKanaDiffSum /= 10000;
- }
-
pPos->Width( static_cast<sal_uInt16>(pPos->Width() - nDecompress) );
if ( pPos->InTabGrp() )