[Libreoffice-commits] .: sc/source
Kohei Yoshida
kohei at kemper.freedesktop.org
Wed Nov 24 20:25:42 PST 2010
sc/source/ui/view/output3.cxx | 2 --
1 file changed, 2 deletions(-)
New commits:
commit 0a9d5945c8c79b1affab8a9c460194fdf7641efe
Author: Kohei Yoshida <kyoshida at novell.com>
Date: Wed Nov 24 23:25:20 2010 -0500
cppcheck: Variable 'nPosY' is assigned a value that is never used.
diff --git a/sc/source/ui/view/output3.cxx b/sc/source/ui/view/output3.cxx
index 6f15346..08769c5 100644
--- a/sc/source/ui/view/output3.cxx
+++ b/sc/source/ui/view/output3.cxx
@@ -245,7 +245,6 @@ void ScOutputData::DrawSelectiveObjects(const sal_uInt16 nLayer)
void ScOutputData::DrawingSingle(const sal_uInt16 nLayer)
{
BOOL bHad = FALSE;
- long nPosY = nScrY;
SCSIZE nArrY;
for (nArrY=1; nArrY+1<nArrCount; nArrY++)
{
@@ -263,7 +262,6 @@ void ScOutputData::DrawingSingle(const sal_uInt16 nLayer)
DrawSelectiveObjects( nLayer );
bHad = FALSE;
}
- nPosY += pRowInfo[nArrY].nHeight;
}
if (bHad)
More information about the Libreoffice-commits
mailing list