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

Jochen Nitschke j.nitschke+logerrit at ok.de
Tue Oct 11 09:24:40 UTC 2016


 winaccessibility/source/UAccCOM/UNOXWrapper.h |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 4624e2d11cbcb0fa4e84acb2e1b73bd2db6ae751
Author: Jochen Nitschke <j.nitschke+logerrit at ok.de>
Date:   Sun Oct 9 18:05:26 2016 +0200

    cppcheck: uninitMemberVar
    
    Change-Id: I4ff6d15941bf561ed67d84e4bda532131c8c7a43
    Reviewed-on: https://gerrit.libreoffice.org/29622
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/winaccessibility/source/UAccCOM/UNOXWrapper.h b/winaccessibility/source/UAccCOM/UNOXWrapper.h
index 2385dc5..e50dd8a 100644
--- a/winaccessibility/source/UAccCOM/UNOXWrapper.h
+++ b/winaccessibility/source/UAccCOM/UNOXWrapper.h
@@ -38,19 +38,19 @@
  */
 class ATL_NO_VTABLE CUNOXWrapper : public IUNOXWrapper
 {
+protected:
+    css::accessibility::XAccessible* pUNOInterface;
+
 public:
-    CUNOXWrapper()
+    CUNOXWrapper() : pUNOInterface(nullptr)
     {   }
 
-public:
     // IUNOXWrapper
     STDMETHOD(put_XInterface)(hyper pXInterface);
     STDMETHOD(put_XSubInterface)(hyper);
 
 protected:
     ~CUNOXWrapper() {}
-
-    css::accessibility::XAccessible* pUNOInterface;
 };
 
 #endif // INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_UNOXWRAPPER_H


More information about the Libreoffice-commits mailing list