summaryrefslogtreecommitdiff
path: root/package/source/xstor/ohierarchyholder.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'package/source/xstor/ohierarchyholder.hxx')
-rw-r--r--package/source/xstor/ohierarchyholder.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/source/xstor/ohierarchyholder.hxx b/package/source/xstor/ohierarchyholder.hxx
index d680b434dd6a..680b30c4eb37 100644
--- a/package/source/xstor/ohierarchyholder.hxx
+++ b/package/source/xstor/ohierarchyholder.hxx
@@ -70,7 +70,7 @@ public:
, m_xOwnStorage( xStorage )
{}
- OHierarchyElement_Impl( const ::com::sun::star::uno::WeakReference< ::com::sun::star::embed::XStorage >& xWeakStorage )
+ explicit OHierarchyElement_Impl( const ::com::sun::star::uno::WeakReference< ::com::sun::star::embed::XStorage >& xWeakStorage )
: m_rParent( NULL )
, m_xWeakOwnStorage( xWeakStorage )
{}
@@ -112,7 +112,7 @@ class OHierarchyHolder_Impl : public ::cppu::OWeakObject
::com::sun::star::uno::WeakReference< ::com::sun::star::embed::XStorage > m_xWeakOwnStorage;
::rtl::Reference< OHierarchyElement_Impl > m_xChild;
public:
- OHierarchyHolder_Impl( const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xOwnStorage )
+ explicit OHierarchyHolder_Impl( const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xOwnStorage )
: m_xWeakOwnStorage( xOwnStorage )
, m_xChild( new OHierarchyElement_Impl( ::com::sun::star::uno::WeakReference< ::com::sun::star::embed::XStorage >( xOwnStorage ) ) )
{}