diff options
author | Noel Grandin <noel@peralex.com> | 2016-03-01 09:20:17 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-03-01 12:48:49 +0200 |
commit | b3483a07bc49d6726480a4ac76473bbee5a535d5 (patch) | |
tree | 744efa595b81a772c45a4562efd622322b52f518 /include | |
parent | d7e1e8da8b1a5158c5a89c7016e05588b0461999 (diff) |
loplugin:unuseddefaultparam in store
Change-Id: I825eb075b73daa5bf52e1d41c32cf2100abebe47
Diffstat (limited to 'include')
-rw-r--r-- | include/store/store.hxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/store/store.hxx b/include/store/store.hxx index e463a3608b45..5800169bb70b 100644 --- a/include/store/store.hxx +++ b/include/store/store.hxx @@ -323,15 +323,14 @@ public: /** Open the temporary file in memory. @see store_createMemoryFile() */ - inline storeError createInMemory ( - sal_uInt16 nPageSize = STORE_DEFAULT_PAGESIZE) + inline storeError createInMemory () { if (m_hImpl) { (void) store_releaseHandle (m_hImpl); m_hImpl = nullptr; } - return store_createMemoryFile (nPageSize, &m_hImpl); + return store_createMemoryFile (STORE_DEFAULT_PAGESIZE, &m_hImpl); } /** Close the file. |