sc/source/ui/view/prevloc.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit df7f3c6733c1b4e4470554497f2c2aa96a442c30 Author: Stephan Bergmann <sberg...@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; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits