diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-12-05 12:05:55 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-12-05 12:05:55 +0000 |
commit | d26e5380039f55e1063ec7c41dd82c3e69d50489 (patch) | |
tree | f390e809d6dcff994e9db412ef1d4ddbbc07c9bd /lotuswordpro | |
parent | c18375b63e44bcdc142c3c2d4e007165368b065b (diff) |
cppcheck: the scope of this variable can be reduced
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/lwptablelayout.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/lwptablelayout.cxx b/lotuswordpro/source/filter/lwptablelayout.cxx index cf427574abc1..c2093b976956 100644 --- a/lotuswordpro/source/filter/lwptablelayout.cxx +++ b/lotuswordpro/source/filter/lwptablelayout.cxx @@ -852,7 +852,6 @@ sal_uInt16 LwpTableLayout::ConvertHeadingRow( { sal_uInt16 nContentRow; sal_uInt8 nCol = static_cast<sal_uInt8>(GetTable()->GetColumn()); - sal_uInt8 nFirstColSpann = 1; XFTable* pTmpTable = new XFTable; XFRow* pXFRow; @@ -871,6 +870,7 @@ sal_uInt16 LwpTableLayout::ConvertHeadingRow( } else { + sal_uInt8 nFirstColSpann = 1; bFindFlag = FindSplitColMark(pTmpTable,CellMark,nFirstColSpann); if (bFindFlag)//split to 2 cells |