summaryrefslogtreecommitdiff
path: root/package/inc/ZipPackage.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-06-29 09:15:16 +0200
committerNoel Grandin <noel@peralex.com>2015-06-29 09:16:18 +0200
commit371200675c2fb2fef0ac8362ebd7bf4203835440 (patch)
treef694a17d0837d052be53ae104b3390b189bb846d /package/inc/ZipPackage.hxx
parentefc66942f29c0127691d30a9d4f31b684443b672 (diff)
drop yet another reimplementation of rtl::Reference (SotMutexHolderRef)
Change-Id: I57f9dff931242405420bd45fae7ec5f13718707f
Diffstat (limited to 'package/inc/ZipPackage.hxx')
-rw-r--r--package/inc/ZipPackage.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/inc/ZipPackage.hxx b/package/inc/ZipPackage.hxx
index 86d6e10c8290..131887664292 100644
--- a/package/inc/ZipPackage.hxx
+++ b/package/inc/ZipPackage.hxx
@@ -75,7 +75,7 @@ class ZipPackage : public cppu::WeakImplHelper7
>
{
protected:
- SotMutexHolderRef m_aMutexHolder;
+ rtl::Reference<SotMutexHolder> m_aMutexHolder;
::com::sun::star::uno::Sequence< ::com::sun::star::beans::NamedValue > m_aStorageEncryptionKeys;
::com::sun::star::uno::Sequence< sal_Int8 > m_aEncryptionKey;
@@ -133,7 +133,7 @@ public:
sal_Int32 GetChecksumAlgID() const { return m_nChecksumDigestID; }
sal_Int32 GetDefaultDerivedKeySize() const { return m_nCommonEncryptionID == ::com::sun::star::xml::crypto::CipherID::AES_CBC_W3C_PADDING ? 32 : 16; }
- SotMutexHolderRef GetSharedMutexRef() { return m_aMutexHolder; }
+ rtl::Reference<SotMutexHolder>& GetSharedMutexRef() { return m_aMutexHolder; }
void ConnectTo( const ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >& xInStream );
const ::com::sun::star::uno::Sequence< sal_Int8 > GetEncryptionKey();