summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2007-03-26 11:14:18 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2007-03-26 11:14:18 +0000
commit77790186507087b3e2af0ee8c4ef24717f6296db (patch)
treedaa6602b1aceec992bee8d9ffdc628ad5129edae /package
parent210863a1f12522b23e9a9c90a82d098cbd1f6aed (diff)
INTEGRATION: CWS fwk61 (1.2.24); FILE MERGED
2007/02/01 08:47:51 mav 1.2.24.1: #i74079# fix the hierarchy access
Diffstat (limited to 'package')
-rw-r--r--package/source/xstor/ohierarchyholder.hxx12
1 files changed, 7 insertions, 5 deletions
diff --git a/package/source/xstor/ohierarchyholder.hxx b/package/source/xstor/ohierarchyholder.hxx
index e4b11d9934c9..b2c7a6cb7e51 100644
--- a/package/source/xstor/ohierarchyholder.hxx
+++ b/package/source/xstor/ohierarchyholder.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: ohierarchyholder.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: obo $ $Date: 2006-10-13 11:49:25 $
+ * last change: $Author: ihi $ $Date: 2007-03-26 12:14:18 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -74,6 +74,8 @@ typedef ::std::hash_map< ::rtl::OUString,
eqFunc > OHierarchyElementList_Impl;
typedef ::std::vector< ::rtl::OUString > OStringList_Impl;
+typedef ::std::list< ::com::sun::star::uno::WeakReference< ::com::sun::star::embed::XExtendedStorageStream > >
+ OWeakStorRefList_Impl;
struct OHierarchyElement_Impl : public cppu::WeakImplHelper1< ::com::sun::star::embed::XTransactionListener >
{
@@ -85,7 +87,7 @@ struct OHierarchyElement_Impl : public cppu::WeakImplHelper1< ::com::sun::star::
OHierarchyElementList_Impl m_aChildren;
- ::std::list< ::com::sun::star::uno::Reference< ::com::sun::star::embed::XExtendedStorageStream > > m_aOpenStreams;
+ OWeakStorRefList_Impl m_aOpenStreams;
public:
OHierarchyElement_Impl( OHierarchyElement_Impl* pParent, const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xStorage )
@@ -134,11 +136,11 @@ public:
class OHierarchyHolder_Impl : public ::cppu::OWeakObject
{
::com::sun::star::uno::WeakReference< ::com::sun::star::embed::XStorage > m_xWeakOwnStorage;
- OHierarchyElement_Impl m_aChild;
+ ::rtl::Reference< OHierarchyElement_Impl > m_xChild;
public:
OHierarchyHolder_Impl( const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xOwnStorage )
: m_xWeakOwnStorage( xOwnStorage )
- , m_aChild( ::com::sun::star::uno::WeakReference< ::com::sun::star::embed::XStorage >( xOwnStorage ) )
+ , m_xChild( new OHierarchyElement_Impl( ::com::sun::star::uno::WeakReference< ::com::sun::star::embed::XStorage >( xOwnStorage ) ) )
{}
static OStringList_Impl GetListPathFromString( const ::rtl::OUString& aPath );