summaryrefslogtreecommitdiffstats
path: root/include/store
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-01 09:20:17 +0200
committerNoel Grandin <noel@peralex.com>2016-03-01 12:48:49 +0200
commitb3483a07bc49d6726480a4ac76473bbee5a535d5 (patch)
tree744efa595b81a772c45a4562efd622322b52f518 /include/store
parentcoverity#1352212 Unchecked return value (diff)
downloadcore-b3483a07bc49d6726480a4ac76473bbee5a535d5.tar.gz
core-b3483a07bc49d6726480a4ac76473bbee5a535d5.zip
loplugin:unuseddefaultparam in store
Change-Id: I825eb075b73daa5bf52e1d41c32cf2100abebe47
Diffstat (limited to 'include/store')
-rw-r--r--include/store/store.hxx5
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.