sd/source/ui/view/Outliner.cxx |    4 ----
 1 file changed, 4 deletions(-)

New commits:
commit 921bc202246843d444d6e72a28457fd952e5333e
Author:     Xisco Fauli <xiscofa...@libreoffice.org>
AuthorDate: Wed Nov 13 11:40:09 2024 +0100
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Wed Nov 13 13:32:07 2024 +0100

    tdf#163486: PVS: variable was assigned the same value
    
    Since
    commit ca644612762921e772ca95d5e8737325d9f343d2
    Author: Radek Doulik <r...@novell.com>
    Date:   Tue Jun 26 12:25:03 2012 +0200
    
        remember spell check/find&replace start position only 1st time
    
    The 'mnStartPageIndex' variable was assigned the same value.
    
    Change-Id: I567f15e88d853804516010b10d9bd571d95f10aa
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176527
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>
    Tested-by: Jenkins

diff --git a/sd/source/ui/view/Outliner.cxx b/sd/source/ui/view/Outliner.cxx
index 2439e98d7c82..9ebadaca1026 100644
--- a/sd/source/ui/view/Outliner.cxx
+++ b/sd/source/ui/view/Outliner.cxx
@@ -1173,10 +1173,6 @@ void SdOutliner::RememberStartPosition()
         if (pView != nullptr)
             pView->GetSelection();
     }
-    else
-    {
-        mnStartPageIndex = sal_uInt16(-1);
-    }
 }
 
 void SdOutliner::RestoreStartPosition()

Reply via email to