diff options
author | Noel Grandin <noel@peralex.com> | 2016-09-09 11:06:42 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-09-09 11:27:23 +0000 |
commit | cb958bb5e0e81d343c91c08a8513006a7bf1d913 (patch) | |
tree | 376b6bdfd1e4be0851f5eba9092588cfde451945 /include/store | |
parent | f4fcec5f0802620192c31aad24db436ead1b2036 (diff) |
loplugin:constantparam in sot..svl
Change-Id: I08db2db3b90725c556e3ba062da5d62d98f6e882
Reviewed-on: https://gerrit.libreoffice.org/28769
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/store')
-rw-r--r-- | include/store/store.hxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/store/store.hxx b/include/store/store.hxx index 672b2196dc5e..012afd1ab9b2 100644 --- a/include/store/store.hxx +++ b/include/store/store.hxx @@ -299,17 +299,16 @@ public: /** Open the file. @see store_openFile() */ - inline storeError create ( + inline storeError create( rtl::OUString const & rFilename, - storeAccessMode eAccessMode, - sal_uInt16 nPageSize = STORE_DEFAULT_PAGESIZE) + storeAccessMode eAccessMode ) { if (m_hImpl) { (void) store_releaseHandle (m_hImpl); m_hImpl = nullptr; } - return store_openFile (rFilename.pData, eAccessMode, nPageSize, &m_hImpl); + return store_openFile (rFilename.pData, eAccessMode, STORE_DEFAULT_PAGESIZE, &m_hImpl); } /** Open the temporary file in memory. |