[Libreoffice-commits] core.git: vcl/inc
Tor Lillqvist
tml at collabora.com
Wed Nov 11 23:20:02 PST 2015
vcl/inc/ilstbox.hxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 8db9acda4edf64a672190b778dd651f2b7339e31
Author: Tor Lillqvist <tml at collabora.com>
Date: Thu Nov 12 08:51:10 2015 +0200
WaE: loplugin:redundantcast
Change-Id: I1a111ba1be3083555b47af8cc272f93b367accae
diff --git a/vcl/inc/ilstbox.hxx b/vcl/inc/ilstbox.hxx
index f6c092c..c708fd0 100644
--- a/vcl/inc/ilstbox.hxx
+++ b/vcl/inc/ilstbox.hxx
@@ -104,7 +104,7 @@ private:
{
if (nPos < 0 || static_cast<size_t>(nPos) >= maEntries.size())
return nullptr;
- return const_cast<ImplEntryType*>(maEntries[nPos].get());
+ return maEntries[nPos].get();
}
public:
More information about the Libreoffice-commits
mailing list