summaryrefslogtreecommitdiff
path: root/package/source/xstor/xstorage.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-01-17 18:50:39 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-01-20 09:06:50 +0100
commit00173d8c3a17f9dc00ead78392812a98397cf277 (patch)
tree05f4e44e3883295fa0aa33672e39efd41d0100b0 /package/source/xstor/xstorage.hxx
parent4d78f348f904a08db52e9f063a230b31bcc2e07f (diff)
Some more loplugin:cstylecast: package
Change-Id: Icf7351082cf63aeb70ec47a8562a89d452ae9d8e
Diffstat (limited to 'package/source/xstor/xstorage.hxx')
-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: */