summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-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 76d8842fb497..58ec912869a2 100644
--- a/package/source/xstor/ohierarchyholder.cxx
+++ b/package/source/xstor/ohierarchyholder.cxx
@@ -205,7 +205,7 @@ void OHierarchyElement_Impl::RemoveStreamHierarchically( std::vector<OUString>&
void OHierarchyElement_Impl::Commit()
{
- ::rtl::Reference< OHierarchyElement_Impl > aLocker( this );
+ ::rtl::Reference< OHierarchyElement_Impl > xKeepAlive( this );
::rtl::Reference< OHierarchyElement_Impl > aParent;
uno::Reference< embed::XStorage > xOwnStor;
@@ -226,7 +226,7 @@ void OHierarchyElement_Impl::Commit()
void OHierarchyElement_Impl::TestForClosing()
{
- ::rtl::Reference< OHierarchyElement_Impl > aLocker( this );
+ ::rtl::Reference< OHierarchyElement_Impl > xKeepAlive( this );
{
::osl::MutexGuard aGuard( m_aMutex );