[Libreoffice-commits] core.git: sc/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Fri Oct 18 10:41:06 UTC 2019
sc/source/ui/unoobj/docuno.cxx | 2 --
1 file changed, 2 deletions(-)
New commits:
commit 29e625fa661c7176c761255c168736416e75d600
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Oct 18 09:03:13 2019 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri Oct 18 12:39:18 2019 +0200
cid#1454849 Logically dead code
Change-Id: I34cf10b7f3823ffe19b503576a388c35ac091606
Reviewed-on: https://gerrit.libreoffice.org/81018
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
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
More information about the Libreoffice-commits
mailing list