summaryrefslogtreecommitdiff
path: root/package/source/xstor
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-03-12 18:23:18 +0100
committerMichael Stahl <mstahl@redhat.com>2015-03-12 20:22:12 +0100
commite43d5f26de3c5a366bdb3c5ed83d30e725870855 (patch)
tree72ea89e659324759f7a03514928bd213be7c3af2 /package/source/xstor
parent9ad17c2536468b37c04bc7f7b74dd794d1dc38c7 (diff)
package: move WSInternalData_Impl out of header
Change-Id: Ie7c01b37e9a4eb2221d4b40fc6b13672d9b3a684
Diffstat (limited to 'package/source/xstor')
-rw-r--r--package/source/xstor/owriteablestream.cxx16
-rw-r--r--package/source/xstor/owriteablestream.hxx17
2 files changed, 17 insertions, 16 deletions
diff --git a/package/source/xstor/owriteablestream.cxx b/package/source/xstor/owriteablestream.cxx
index 38e6563e8ff3..b64e76f782d5 100644
--- a/package/source/xstor/owriteablestream.cxx
+++ b/package/source/xstor/owriteablestream.cxx
@@ -55,6 +55,22 @@
using namespace ::com::sun::star;
+struct WSInternalData_Impl
+{
+ SotMutexHolderRef m_rSharedMutexRef;
+ ::std::unique_ptr< ::cppu::OTypeCollection> m_pTypeCollection;
+ ::cppu::OMultiTypeInterfaceContainerHelper m_aListenersContainer; // list of listeners
+ sal_Int32 m_nStorageType;
+
+ // the mutex reference MUST NOT be empty
+ WSInternalData_Impl( const SotMutexHolderRef& rMutexRef, sal_Int32 nStorageType )
+ : m_rSharedMutexRef( rMutexRef )
+ , m_pTypeCollection()
+ , m_aListenersContainer( rMutexRef->GetMutex() )
+ , m_nStorageType( nStorageType )
+ {}
+};
+
namespace package
{
diff --git a/package/source/xstor/owriteablestream.hxx b/package/source/xstor/owriteablestream.hxx
index ad6ddf27e54b..2a5b1cf8def9 100644
--- a/package/source/xstor/owriteablestream.hxx
+++ b/package/source/xstor/owriteablestream.hxx
@@ -43,7 +43,6 @@
#include <cppuhelper/implbase1.hxx>
#include <cppuhelper/weak.hxx>
#include <cppuhelper/interfacecontainer.h>
-#include <cppuhelper/typeprovider.hxx>
#include <comphelper/sequenceashashmap.hxx>
@@ -71,21 +70,7 @@ namespace package {
bool PackageEncryptionDatasEqual( const ::comphelper::SequenceAsHashMap& aHash1, const ::comphelper::SequenceAsHashMap& aHash2 );
}
-struct WSInternalData_Impl
-{
- SotMutexHolderRef m_rSharedMutexRef;
- ::std::unique_ptr< ::cppu::OTypeCollection> m_pTypeCollection;
- ::cppu::OMultiTypeInterfaceContainerHelper m_aListenersContainer; // list of listeners
- sal_Int32 m_nStorageType;
-
- // the mutex reference MUST NOT be empty
- WSInternalData_Impl( const SotMutexHolderRef& rMutexRef, sal_Int32 nStorageType )
- : m_rSharedMutexRef( rMutexRef )
- , m_pTypeCollection()
- , m_aListenersContainer( rMutexRef->GetMutex() )
- , m_nStorageType( nStorageType )
- {}
-};
+struct WSInternalData_Impl;
typedef ::std::list< OInputCompStream* > InputStreamsList_Impl;