From 4ea281a3ccb5bd21e1808d8cb127a91a1bb72691 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sat, 13 Jun 2015 10:09:21 +0200 Subject: cppcheck:redundantAssignment Change-Id: I1167d0ce6b6f6e48309d0551c1d2a283d79546a7 --- lotuswordpro/source/filter/lwplayout.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lotuswordpro') diff --git a/lotuswordpro/source/filter/lwplayout.cxx b/lotuswordpro/source/filter/lwplayout.cxx index 38634586e8ea..0ca02f540cc6 100644 --- a/lotuswordpro/source/filter/lwplayout.cxx +++ b/lotuswordpro/source/filter/lwplayout.cxx @@ -1607,13 +1607,11 @@ XFColumns* LwpLayout::GetXFColumns() for(sal_uInt16 nIndex = 0; nIndex(GetColWidth(nIndex)); - nWidth=8305/nCols; //relative width + sal_Int32 nWidth = 8305/nCols; //relative width aColumn.SetRelWidth(nWidth); //the left and right margins is 0; double nGap = GetColGap(nIndex)/2; - //nGap=0; aColumn.SetMargins(nGap,nGap); if(nIndex==0) { -- cgit