diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2015-06-13 10:09:21 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-06-15 13:34:14 +0200 |
commit | 4ea281a3ccb5bd21e1808d8cb127a91a1bb72691 (patch) | |
tree | 183a2ab634d770b7ef777323fa6851fc38e14011 /lotuswordpro/source | |
parent | 943f4b4ff1c524c514584c459b899ba3e9dfb71f (diff) |
cppcheck:redundantAssignment
Change-Id: I1167d0ce6b6f6e48309d0551c1d2a283d79546a7
Diffstat (limited to 'lotuswordpro/source')
-rw-r--r-- | lotuswordpro/source/filter/lwplayout.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
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<nCols; nIndex++) { XFColumn aColumn; - sal_Int32 nWidth = static_cast<sal_Int32>(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) { |