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

Stephan Bergmann sbergman at redhat.com
Wed Jun 14 16:25:07 UTC 2017


 connectivity/source/inc/ado/Aolewrap.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0782cdaeb36e254dac3dd0ad69dfa0310aff75d8
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Jun 14 18:24:11 2017 +0200

    loplugin:redundantcase (clang-cl)
    
    Change-Id: I8d31de92528461afbe25ec059093c1c21eb9ef72

diff --git a/connectivity/source/inc/ado/Aolewrap.hxx b/connectivity/source/inc/ado/Aolewrap.hxx
index 71b897e9fe9d..63df70cfd6fc 100644
--- a/connectivity/source/inc/ado/Aolewrap.hxx
+++ b/connectivity/source/inc/ado/Aolewrap.hxx
@@ -98,7 +98,7 @@ namespace connectivity
             {
             }
 
-            operator T*() const { return static_cast<T*>(pInterface); }
+            operator T*() const { return pInterface; }
             void setWithOutAddRef(T* _pInterface)
             {
                 pInterface = _pInterface;


More information about the Libreoffice-commits mailing list