[Libreoffice-commits] core.git: sc/source
Stephan Bergmann
sbergman at redhat.com
Mon Nov 9 10:43:27 PST 2015
sc/source/ui/view/prevloc.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit df7f3c6733c1b4e4470554497f2c2aa96a442c30
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Nov 9 19:42:57 2015 +0100
loplugin:redundantcast
Change-Id: I8bfdb2c88b82dc9f1335d92589838cda4b1e7cf7
diff --git a/sc/source/ui/view/prevloc.cxx b/sc/source/ui/view/prevloc.cxx
index 8dd0621..b0e407c 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;
More information about the Libreoffice-commits
mailing list