diff options
Diffstat (limited to 'sc/source/ui/view/prevloc.cxx')
-rw-r--r-- | sc/source/ui/view/prevloc.cxx | 2 |
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; |