summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-10-18 09:03:13 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-10-18 12:39:18 +0200
commit29e625fa661c7176c761255c168736416e75d600 (patch)
tree2c40306a3547ca36527a0ca4ea19e0fb3da4d0ac /sc
parent810613e12f33309266489e3e8f23d40cfdf20cb7 (diff)
cid#1454849 Logically dead code
Change-Id: I34cf10b7f3823ffe19b503576a388c35ac091606 Reviewed-on: https://gerrit.libreoffice.org/81018 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/unoobj/docuno.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx
index be9cc50eb234..b7e932b5fcf2 100644
--- a/sc/source/ui/unoobj/docuno.cxx
+++ b/sc/source/ui/unoobj/docuno.cxx
@@ -2023,8 +2023,6 @@ void SAL_CALL ScModelObj::render( sal_Int32 nSelRenderer, const uno::Any& aSelec
} aDrawViewKeeper;
SCTAB nTab;
- if (bSinglePageSheets)
- nTab = nSelRenderer;
if ( !maValidPages.empty() )
nTab = pPrintFuncCache->GetTabForPage( maValidPages.at( nRenderer )-1 );
else