store/source/store.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5d26ad5a0e446bcda8c8b7dadbe0c567c1dcc082
Author: Caolán McNamara <caol...@redhat.com>
Date:   Sun Sep 13 20:41:25 2015 +0100

    cppcheck: redundantPointerOp
    
    Change-Id: Ifb32fc03b686aeb0835422764178e54650b183f5

diff --git a/store/source/store.cxx b/store/source/store.cxx
index d01d4e9..f3ec7c0 100644
--- a/store/source/store.cxx
+++ b/store/source/store.cxx
@@ -312,7 +312,7 @@ storeError SAL_CALL store_openDirectory (
 
     xDirectory->acquire();
 
-    *phDirectory = static_cast<storeDirectoryHandle>(&(*xDirectory));
+    *phDirectory = xDirectory.get();
     return store_E_None;
 }
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to