summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNiklas Nebel <nn@openoffice.org>2011-01-05 11:52:05 +0100
committerNiklas Nebel <nn@openoffice.org>2011-01-05 11:52:05 +0100
commit2e7856016590b7c2ac910eaabd5cf860ba135520 (patch)
treeae09e9fd1db6bf7401d15b5013e7fda8af1ca4d8 /sc
parent0c2ccbd2fe129b2c7adf368a8a1fb855bf22fc02 (diff)
calc64: remove a warning
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/table2.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/sc/source/core/data/table2.cxx b/sc/source/core/data/table2.cxx
index 3f9db7f36..75cb5d593 100644
--- a/sc/source/core/data/table2.cxx
+++ b/sc/source/core/data/table2.cxx
@@ -2717,7 +2717,6 @@ void ScTable::ShowRows(SCROW nRow1, SCROW nRow2, bool bShow)
BOOL bChanged = ( bWasVis != bShow );
if ( bChanged && bHasObjects )
{
- ScDrawLayer* pDrawLayer = pDocument->GetDrawLayer();
if (pDrawLayer)
{
long nHeight = static_cast<long>(mpRowHeights->getSumValue(nStartRow, nEndRow));