[Libreoffice-commits] .: sc/source
Kohei Yoshida
kohei at kemper.freedesktop.org
Wed Nov 24 20:23:44 PST 2010
sc/source/ui/view/output3.cxx | 2 --
1 file changed, 2 deletions(-)
New commits:
commit e7023c20c78c779558e48f2d57721c041af983ae
Author: Kohei Yoshida <kyoshida at novell.com>
Date: Wed Nov 24 23:23:27 2010 -0500
cppcheck: removed local variable that was not really used.
diff --git a/sc/source/ui/view/output3.cxx b/sc/source/ui/view/output3.cxx
index 1131023..6f15346 100644
--- a/sc/source/ui/view/output3.cxx
+++ b/sc/source/ui/view/output3.cxx
@@ -69,10 +69,8 @@ Point ScOutputData::PrePrintDrawingLayer(long nLogStX, long nLogStY )
aOffset.Y() -= pDoc->GetRowHeight( 0, nY1-1, nTab );
long nDataWidth = 0;
- long nDataHeight = 0;
for (nCol=nX1; nCol<=nX2; nCol++)
nDataWidth += pDoc->GetColWidth( nCol, nTab );
- nDataHeight += pDoc->GetRowHeight( nY1, nY2, nTab );
if ( bLayoutRTL )
aOffset.X() += nDataWidth;
More information about the Libreoffice-commits
mailing list