summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/prevloc.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-09 19:42:57 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-09 19:42:57 +0100
commitdf7f3c6733c1b4e4470554497f2c2aa96a442c30 (patch)
tree0d92991580199e0d89131f605788bdc580ccc3c4 /sc/source/ui/view/prevloc.cxx
parentd9b03172af1b81c0aede3e7e94e83d8932f26150 (diff)
loplugin:redundantcast
Change-Id: I8bfdb2c88b82dc9f1335d92589838cda4b1e7cf7
Diffstat (limited to 'sc/source/ui/view/prevloc.cxx')
-rw-r--r--sc/source/ui/view/prevloc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/prevloc.cxx b/sc/source/ui/view/prevloc.cxx
index 8dd0621affd7..b0e407c223e0 100644
--- a/sc/source/ui/view/prevloc.cxx
+++ b/sc/source/ui/view/prevloc.cxx
@@ -273,7 +273,7 @@ static ScPreviewLocationEntry* lcl_GetEntryByAddress(
for (auto const& it : rEntries)
{
if ( it->eType == eType && it->aCellRange.In( rPos ) )
- return const_cast<ScPreviewLocationEntry*>(it.get());
+ return it.get();
}
return NULL;