[Libreoffice-commits] core.git: store/source
Caolán McNamara
caolanm at redhat.com
Sun Sep 13 12:44:32 PDT 2015
store/source/store.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 5d26ad5a0e446bcda8c8b7dadbe0c567c1dcc082
Author: Caolán McNamara <caolanm at 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;
}
More information about the Libreoffice-commits
mailing list