summaryrefslogtreecommitdiff
path: root/package/inc/ZipFile.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'package/inc/ZipFile.hxx')
-rw-r--r--package/inc/ZipFile.hxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/package/inc/ZipFile.hxx b/package/inc/ZipFile.hxx
index e84ace2abd11..4aafaad77e6a 100644
--- a/package/inc/ZipFile.hxx
+++ b/package/inc/ZipFile.hxx
@@ -55,7 +55,7 @@ class ZipEnumeration;
class ZipFile
{
- ::osl::Mutex m_aMutex;
+ rtl::Reference<SotMutexHolder> m_aMutexHolder;
EntryHash aEntries;
ByteGrabber aGrabber;
@@ -90,11 +90,13 @@ class ZipFile
public:
- ZipFile( css::uno::Reference < css::io::XInputStream > &xInput,
+ ZipFile( const rtl::Reference<SotMutexHolder>& aMutexHolder,
+ css::uno::Reference < css::io::XInputStream > &xInput,
const css::uno::Reference < css::uno::XComponentContext > &rxContext,
bool bInitialise );
- ZipFile( css::uno::Reference < css::io::XInputStream > &xInput,
+ ZipFile( const rtl::Reference<SotMutexHolder>& aMutexHolder,
+ css::uno::Reference < css::io::XInputStream > &xInput,
const css::uno::Reference < css::uno::XComponentContext > &rxContext,
bool bInitialise,
bool bForceRecover );
@@ -136,6 +138,7 @@ public:
const css::uno::Reference < css::io::XInputStream >& rStream );
static css::uno::Reference< css::io::XInputStream > StaticGetDataFromRawStream(
+ const rtl::Reference<SotMutexHolder>& aMutexHolder,
const css::uno::Reference< css::uno::XComponentContext >& rxContext,
const css::uno::Reference< css::io::XInputStream >& xStream,
const ::rtl::Reference < EncryptionData > &rData );