summaryrefslogtreecommitdiff
path: root/store
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-08 16:28:23 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-08 16:28:23 +0200
commitfa0149a4b8a7772c313bb9d136364082545538a9 (patch)
tree1c5e9c2c9a214a1fb92c61bb43e05145fbfa9fcc /store
parent6bf5ebc0019a605d4add8185b8bc4180c4e20088 (diff)
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: Iac7bb1008806efbef42ee1f9b32df0788a7c9915
Diffstat (limited to 'store')
-rw-r--r--store/source/store.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/store/source/store.cxx b/store/source/store.cxx
index 914063a8a28d..22fc68f80511 100644
--- a/store/source/store.cxx
+++ b/store/source/store.cxx
@@ -126,7 +126,7 @@ storeError SAL_CALL store_createMemoryFile (
xManager->acquire();
- *phFile = (storeFileHandle)&(*xManager);
+ *phFile = static_cast<storeFileHandle>(&(*xManager));
return store_E_None;
}
@@ -164,7 +164,7 @@ storeError SAL_CALL store_openFile (
xManager->acquire();
- *phFile = (storeFileHandle)&(*xManager);
+ *phFile = static_cast<storeFileHandle>(&(*xManager));
return store_E_None;
}
@@ -312,7 +312,7 @@ storeError SAL_CALL store_openDirectory (
xDirectory->acquire();
- *phDirectory = (storeDirectoryHandle)&(*xDirectory);
+ *phDirectory = static_cast<storeDirectoryHandle>(&(*xDirectory));
return store_E_None;
}
@@ -422,7 +422,7 @@ storeError SAL_CALL store_openStream (
xLockBytes->acquire();
- *phStream = (storeStreamHandle)&(*xLockBytes);
+ *phStream = static_cast<storeStreamHandle>(&(*xLockBytes));
return store_E_None;
}