summaryrefslogtreecommitdiffstats
path: root/store
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-17 09:34:50 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-17 10:20:19 +0200
commit6f3b39499f9c6c88d637b621ef9ec6189d4fb9ff (patch)
tree848a5c335833cb61b2e6d2a9120ed5d6d354705b /store
parentupload libwps 0.4.7 (diff)
downloadcore-6f3b39499f9c6c88d637b621ef9ec6189d4fb9ff.tar.gz
core-6f3b39499f9c6c88d637b621ef9ec6189d4fb9ff.zip
loplugin:constparams in store,registry
Change-Id: I5633203b372a9abd0138a396958c235ea8aaf66d Reviewed-on: https://gerrit.libreoffice.org/40039 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'store')
-rw-r--r--store/source/stordir.cxx4
-rw-r--r--store/source/stordir.hxx4
-rw-r--r--store/source/storlckb.cxx4
-rw-r--r--store/source/storlckb.hxx4
4 files changed, 8 insertions, 8 deletions
diff --git a/store/source/stordir.cxx b/store/source/stordir.cxx
index ec18b81176a3..552828edfaab 100644
--- a/store/source/stordir.cxx
+++ b/store/source/stordir.cxx
@@ -101,8 +101,8 @@ bool OStoreDirectory_Impl::isKindOf (sal_uInt32 nTypeId)
*/
storeError OStoreDirectory_Impl::create (
OStorePageManager *pManager,
- rtl_String *pPath,
- rtl_String *pName,
+ rtl_String const *pPath,
+ rtl_String const *pName,
storeAccessMode eMode)
{
rtl::Reference<OStorePageManager> xManager (pManager);
diff --git a/store/source/stordir.hxx b/store/source/stordir.hxx
index 2d9408a74649..8874e00b596d 100644
--- a/store/source/stordir.hxx
+++ b/store/source/stordir.hxx
@@ -51,8 +51,8 @@ public:
*/
storeError create (
OStorePageManager *pManager,
- rtl_String *pPath,
- rtl_String *pName,
+ rtl_String const *pPath,
+ rtl_String const *pName,
storeAccessMode eAccessMode);
/** iterate.
diff --git a/store/source/storlckb.cxx b/store/source/storlckb.cxx
index 05297cd38e03..aff9066064c4 100644
--- a/store/source/storlckb.cxx
+++ b/store/source/storlckb.cxx
@@ -75,8 +75,8 @@ bool OStoreLockBytes::isKindOf (sal_uInt32 nTypeId)
*/
storeError OStoreLockBytes::create (
OStorePageManager *pManager,
- rtl_String *pPath,
- rtl_String *pName,
+ rtl_String const *pPath,
+ rtl_String const *pName,
storeAccessMode eMode)
{
rtl::Reference<OStorePageManager> xManager (pManager);
diff --git a/store/source/storlckb.hxx b/store/source/storlckb.hxx
index 1303c3574b87..7346d7490915 100644
--- a/store/source/storlckb.hxx
+++ b/store/source/storlckb.hxx
@@ -51,8 +51,8 @@ public:
*/
storeError create (
OStorePageManager *pManager,
- rtl_String *pPath,
- rtl_String *pName,
+ rtl_String const *pPath,
+ rtl_String const *pName,
storeAccessMode eAccessMode);
/** Read at Offset into Buffer.