diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2010-11-24 23:23:27 -0500 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2010-11-24 23:23:27 -0500 |
commit | 144b04a6b7b534403d89c432037253b21e45c197 (patch) | |
tree | d50d7f87f59f8edf14b44e34bcb0f94724f8897f /sc | |
parent | 8bd305d433453940ff8fc17937e979d90ff6c521 (diff) |
cppcheck: removed local variable that was not really used.
Diffstat (limited to 'sc')
-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 b5bb920fb209..70123eebc433 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; |