diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2010-11-24 23:25:20 -0500 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2010-11-24 23:25:20 -0500 |
commit | 3d4891dd21276ccf72e6cde23ac2602919666cef (patch) | |
tree | 2c66afdff2d0b04c26ab1137b185543481272aa1 | |
parent | 144b04a6b7b534403d89c432037253b21e45c197 (diff) |
cppcheck: Variable 'nPosY' is assigned a value that is never used.
-rw-r--r-- | sc/source/ui/view/output3.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sc/source/ui/view/output3.cxx b/sc/source/ui/view/output3.cxx index 70123eebc433..e98e1c93591d 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) |