summaryrefslogtreecommitdiff
path: root/include/store
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-01 15:54:13 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-02 10:45:01 +0100
commit455e4011f7052c5d1fb4693a573e0998cf6badc8 (patch)
treece9b3b511a3b61b936af7a4970ab4bcbaf620628 /include/store
parentcee129bf17bd604f96e3cfe62d3a55336e248ccd (diff)
improve constparam loplugin
lots of little fixes to make the logic less pessimistic Change-Id: If368822984250b11b98c56f5890177a1402e8660 Reviewed-on: https://gerrit.libreoffice.org/44168 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/store')
-rw-r--r--include/store/store.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/store/store.h b/include/store/store.h
index 2e606e565856..3f6177a1af47 100644
--- a/include/store/store.h
+++ b/include/store/store.h
@@ -117,8 +117,8 @@ typedef void* storeDirectoryHandle;
*/
STORE_DLLPUBLIC storeError SAL_CALL store_openDirectory (
storeFileHandle hFile,
- rtl_uString *pPath,
- rtl_uString *pName,
+ rtl_uString const *pPath,
+ rtl_uString const *pName,
storeAccessMode eAccessMode,
storeDirectoryHandle *phDirectory
) SAL_THROW_EXTERN_C();
@@ -161,8 +161,8 @@ typedef void* storeStreamHandle;
*/
STORE_DLLPUBLIC storeError SAL_CALL store_openStream (
storeFileHandle hFile,
- rtl_uString *pPath,
- rtl_uString *pName,
+ rtl_uString const *pPath,
+ rtl_uString const *pName,
storeAccessMode eMode,
storeStreamHandle *phStrm
) SAL_THROW_EXTERN_C();
@@ -207,8 +207,8 @@ STORE_DLLPUBLIC storeError SAL_CALL store_writeStream (
*/
STORE_DLLPUBLIC storeError SAL_CALL store_remove (
storeFileHandle hFile,
- rtl_uString *pPath,
- rtl_uString *pName
+ rtl_uString const *pPath,
+ rtl_uString const *pName
) SAL_THROW_EXTERN_C();
#ifdef __cplusplus