summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/tabvwshb.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/tabvwshb.cxx')
-rw-r--r--sc/source/ui/view/tabvwshb.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/view/tabvwshb.cxx b/sc/source/ui/view/tabvwshb.cxx
index 0123464a3252..009afeb5b779 100644
--- a/sc/source/ui/view/tabvwshb.cxx
+++ b/sc/source/ui/view/tabvwshb.cxx
@@ -270,7 +270,6 @@ ErrCode ScTabViewShell::DoVerb(long nVerb)
return ERRCODE_SO_NOTIMPL; // should not be
SdrOle2Obj* pOle2Obj = nullptr;
- ErrCode nErr = ERRCODE_NONE;
const SdrMarkList& rMarkList = pView->GetMarkedObjectList();
if (rMarkList.GetMarkCount() == 1)
@@ -289,7 +288,7 @@ ErrCode ScTabViewShell::DoVerb(long nVerb)
OSL_FAIL("no object for Verb found");
}
- return nErr;
+ return ERRCODE_NONE;
}
void ScTabViewShell::DeactivateOle()