sc/source/ui/docshell/docsh3.cxx |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit d5c4823555e6f5c4e3bd9258c819bb2a763227c4
Author: Jochen Nitschke <j.nitschke+loger...@ok.de>
Date:   Sun Oct 30 23:01:32 2016 +0100

    cppcheck unreadVariable: nModified
    
    unused since initial commit 9ae5a91f7955e44d3b24a3f7741f9bca02ac7f24
    
    Change-Id: I2828af1fbfda993dff32abf0f9a9f73e9fb61028
    Reviewed-on: https://gerrit.libreoffice.org/30455
    Reviewed-by: Jochen Nitschke <j.nitschke+loger...@ok.de>
    Tested-by: Jochen Nitschke <j.nitschke+loger...@ok.de>

diff --git a/sc/source/ui/docshell/docsh3.cxx b/sc/source/ui/docshell/docsh3.cxx
index da426b5..6dd8590 100644
--- a/sc/source/ui/docshell/docsh3.cxx
+++ b/sc/source/ui/docshell/docsh3.cxx
@@ -575,7 +575,6 @@ ScChangeAction* ScDocShell::GetChangeAction( const 
ScAddress& rPos )
     SCTAB nTab = rPos.Tab();
 
     const ScChangeAction* pFound = nullptr;
-    long nModified = 0;
     const ScChangeAction* pAction = pTrack->GetFirst();
     while (pAction)
     {
@@ -596,7 +595,6 @@ ScChangeAction* ScDocShell::GetChangeAction( const 
ScAddress& rPos )
                 if ( aRange.In( rPos ) )
                 {
                     pFound = pAction;       // der letzte gewinnt
-                    ++nModified;
                 }
             }
             if ( pAction->GetType() == SC_CAT_MOVE )
@@ -607,7 +605,6 @@ ScChangeAction* ScDocShell::GetChangeAction( const 
ScAddress& rPos )
                 if ( aRange.In( rPos ) )
                 {
                     pFound = pAction;
-                    ++nModified;
                 }
             }
         }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to