summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2011-03-30 13:32:26 +0200
committerDavid Tardon <dtardon@redhat.com>2011-03-30 13:49:22 +0200
commitaa6b57f0dabd6321cf8ece0cc0121eed6c6d869c (patch)
treea6a29915b5bb89247d3f12ea1c8ba97a8213e8d1
parent22ad4b9365075c4f432878633362bbd75b043f79 (diff)
WaE: unused variable
-rw-r--r--sc/source/ui/docshell/docsh3.cxx15
1 files changed, 0 insertions, 15 deletions
diff --git a/sc/source/ui/docshell/docsh3.cxx b/sc/source/ui/docshell/docsh3.cxx
index 93406d1adf4a..010c8171f9b7 100644
--- a/sc/source/ui/docshell/docsh3.cxx
+++ b/sc/source/ui/docshell/docsh3.cxx
@@ -591,8 +591,6 @@ ScChangeAction* ScDocShell::GetChangeAction( const ScAddress& rPos )
SCTAB nTab = rPos.Tab();
const ScChangeAction* pFound = NULL;
- const ScChangeAction* pFoundContent = NULL;
- const ScChangeAction* pFoundMove = NULL;
long nModified = 0;
const ScChangeAction* pAction = pTrack->GetFirst();
while (pAction)
@@ -614,19 +612,6 @@ ScChangeAction* ScDocShell::GetChangeAction( const ScAddress& rPos )
if ( aRange.In( rPos ) )
{
pFound = pAction; // der letzte gewinnt
- switch ( pAction->GetType() )
- {
- case SC_CAT_CONTENT :
- pFoundContent = pAction;
- break;
- case SC_CAT_MOVE :
- pFoundMove = pAction;
- break;
- default:
- {
- // added to avoid warnings
- }
- }
++nModified;
}
}