summaryrefslogtreecommitdiff
path: root/store/source/storbase.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'store/source/storbase.hxx')
-rw-r--r--store/source/storbase.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/store/source/storbase.hxx b/store/source/storbase.hxx
index 7829ae1c4a79..f4745d7c6885 100644
--- a/store/source/storbase.hxx
+++ b/store/source/storbase.hxx
@@ -418,7 +418,7 @@ class PageHolderObject
public:
bool construct (rtl::Reference< PageData::Allocator > const & rxAllocator)
{
- if ((m_xPage.get() == nullptr) && rxAllocator.is())
+ if (!m_xPage && rxAllocator.is())
{
std::shared_ptr<PageData> tmp (rxAllocator->construct<T>(), PageData::Deallocate(rxAllocator));
m_xPage.swap (tmp);