summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/ui/docshell/docsh3.cxx3
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;
}
}
}