summaryrefslogtreecommitdiff
path: root/store
diff options
context:
space:
mode:
Diffstat (limited to 'store')
-rw-r--r--store/source/storbase.hxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/store/source/storbase.hxx b/store/source/storbase.hxx
index b9dc53247a8d..09b0e88b2ae5 100644
--- a/store/source/storbase.hxx
+++ b/store/source/storbase.hxx
@@ -284,10 +284,11 @@ struct PageData
public:
template< class T > T * construct()
{
- void * page = nullptr; sal_uInt16 size = 0;
- if (allocate (&page, &size))
+ void * page = nullptr;
+ sal_uInt16 nSize = 0;
+ if (allocate (&page, &nSize))
{
- return new(page) T(size);
+ return new(page) T(nSize);
}
return 0;
}