[Libreoffice-commits] core.git: connectivity/source

Stephan Bergmann sbergman at redhat.com
Thu Apr 16 12:38:16 PDT 2015


 connectivity/source/drivers/macab/MacabStatement.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6ffecab0cfa0168ae2a98dc961de663855d41648
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Apr 16 21:36:08 2015 +0200

    loplugin:redundantcast
    
    Change-Id: Id887e25f626917d4775f0df92935ecbf08b0455d

diff --git a/connectivity/source/drivers/macab/MacabStatement.cxx b/connectivity/source/drivers/macab/MacabStatement.cxx
index a822e09..e82a43e 100644
--- a/connectivity/source/drivers/macab/MacabStatement.cxx
+++ b/connectivity/source/drivers/macab/MacabStatement.cxx
@@ -530,7 +530,7 @@ void SAL_CALL MacabCommonStatement::clearWarnings(  ) throw(SQLException, Runtim
 
 ::cppu::IPropertyArrayHelper & MacabCommonStatement::getInfoHelper()
 {
-    return *const_cast<MacabCommonStatement*>(this)->getArrayHelper();
+    return *getArrayHelper();
 }
 
 sal_Bool MacabCommonStatement::convertFastPropertyValue(


More information about the Libreoffice-commits mailing list