[Libreoffice-commits] .: lotuswordpro/source
Caolán McNamara
caolan at kemper.freedesktop.org
Sun Dec 5 04:06:02 PST 2010
lotuswordpro/source/filter/lwptablelayout.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 9747430903107b1afe3351029a596e56acce7d78
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun Dec 5 12:05:55 2010 +0000
cppcheck: the scope of this variable can be reduced
diff --git a/lotuswordpro/source/filter/lwptablelayout.cxx b/lotuswordpro/source/filter/lwptablelayout.cxx
index 6350090..69ff666 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
More information about the Libreoffice-commits
mailing list