summaryrefslogtreecommitdiffstats
path: root/package/source/xstor/ohierarchyholder.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'package/source/xstor/ohierarchyholder.cxx')
-rw-r--r--package/source/xstor/ohierarchyholder.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/source/xstor/ohierarchyholder.cxx b/package/source/xstor/ohierarchyholder.cxx
index 4d84e2d6758b..a173f7990406 100644
--- a/package/source/xstor/ohierarchyholder.cxx
+++ b/package/source/xstor/ohierarchyholder.cxx
@@ -138,7 +138,7 @@ uno::Reference< embed::XExtendedStorageStream > OHierarchyElement_Impl::GetStrea
if ( !xChildStorage.is() )
throw uno::RuntimeException();
- aElement = new OHierarchyElement_Impl( nullptr, xChildStorage );
+ aElement = new OHierarchyElement_Impl( xChildStorage );
}
xResult = aElement->GetStreamHierarchically( nStorageMode, aListPath, nStreamMode, aEncryptionData );
@@ -195,7 +195,7 @@ void OHierarchyElement_Impl::RemoveStreamHierarchically( OStringList_Impl& aList
if ( !xChildStorage.is() )
throw uno::RuntimeException();
- aElement = new OHierarchyElement_Impl( nullptr, xChildStorage );
+ aElement = new OHierarchyElement_Impl( xChildStorage );
}
aElement->RemoveStreamHierarchically( aListPath );