diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-10-30 23:01:32 +0100 |
---|---|---|
committer | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-11-01 11:22:56 +0000 |
commit | d5c4823555e6f5c4e3bd9258c819bb2a763227c4 (patch) | |
tree | 78515f147b4dfb233864deebdca553f941891972 /sc | |
parent | 2f71f88cf8a0970ad4e2daac30b7a12d6c222d87 (diff) |
cppcheck unreadVariable: nModified
unused since initial commit 9ae5a91f7955e44d3b24a3f7741f9bca02ac7f24
Change-Id: I2828af1fbfda993dff32abf0f9a9f73e9fb61028
Reviewed-on: https://gerrit.libreoffice.org/30455
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Tested-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/docshell/docsh3.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sc/source/ui/docshell/docsh3.cxx b/sc/source/ui/docshell/docsh3.cxx index da426b5516f4..6dd859031c70 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; } } } |