summaryrefslogtreecommitdiff
path: root/package/source/xstor
diff options
context:
space:
mode:
Diffstat (limited to 'package/source/xstor')
-rw-r--r--package/source/xstor/xstorage.hxx13
1 files changed, 7 insertions, 6 deletions
diff --git a/package/source/xstor/xstorage.hxx b/package/source/xstor/xstorage.hxx
index 3d70f3dd9ce7..d15b39bd86a8 100644
--- a/package/source/xstor/xstorage.hxx
+++ b/package/source/xstor/xstorage.hxx
@@ -102,12 +102,7 @@ struct StorageHolder_Impl
OStorage* m_pPointer;
::com::sun::star::uno::WeakReference< ::com::sun::star::embed::XStorage > m_xWeakRef;
- StorageHolder_Impl( OStorage* pStorage )
- : m_pPointer( pStorage )
- , m_xWeakRef( ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >(
- (::com::sun::star::embed::XStorage*)pStorage ) )
- {
- }
+ inline StorageHolder_Impl( OStorage* pStorage );
StorageHolder_Impl( const StorageHolder_Impl& aSH )
: m_pPointer( aSH.m_pPointer )
@@ -810,6 +805,12 @@ public:
::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
};
+StorageHolder_Impl::StorageHolder_Impl( OStorage* pStorage )
+: m_pPointer( pStorage )
+, m_xWeakRef( ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >( pStorage ) )
+{
+}
+
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */