sc/source/ui/unoobj/docuno.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 29e625fa661c7176c761255c168736416e75d600
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Fri Oct 18 09:03:13 2019 +0100
Commit:     Caolán McNamara <caol...@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 <caol...@redhat.com>
    Tested-by: Caolán McNamara <caol...@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
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to