summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-08-24 14:41:43 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-08-24 20:29:39 +0200
commit715e7370a160bd3a51bf5aefdd92319da239bc4e (patch)
treee7a8271d1d27e1172466acf2a2705cf09ba55cc7 /package
parentd48d9c0f96870780be35cf98b7915fdbb4db6735 (diff)
loplugin:returnconstval in fpicker..reportdesign
Change-Id: I59c55a858b2706d1327c837abc158dceca02360e Reviewed-on: https://gerrit.libreoffice.org/78058 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'package')
-rw-r--r--package/inc/ZipPackage.hxx2
-rw-r--r--package/source/zippackage/ZipPackage.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/inc/ZipPackage.hxx b/package/inc/ZipPackage.hxx
index 1cb3ba7836f5..ff76226896f5 100644
--- a/package/inc/ZipPackage.hxx
+++ b/package/inc/ZipPackage.hxx
@@ -130,7 +130,7 @@ public:
rtl::Reference<comphelper::RefCountedMutex>& GetSharedMutexRef() { return m_aMutexHolder; }
void ConnectTo( const css::uno::Reference< css::io::XInputStream >& xInStream );
- const css::uno::Sequence< sal_Int8 > GetEncryptionKey();
+ css::uno::Sequence< sal_Int8 > GetEncryptionKey();
// XInitialization
virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any >& aArguments ) override;
diff --git a/package/source/zippackage/ZipPackage.cxx b/package/source/zippackage/ZipPackage.cxx
index 4ade3f66119c..a7bb9e818e10 100644
--- a/package/source/zippackage/ZipPackage.cxx
+++ b/package/source/zippackage/ZipPackage.cxx
@@ -1624,7 +1624,7 @@ void ZipPackage::DisconnectFromTargetAndThrowException_Impl( const uno::Referenc
makeAny ( aException ) );
}
-const uno::Sequence< sal_Int8 > ZipPackage::GetEncryptionKey()
+uno::Sequence< sal_Int8 > ZipPackage::GetEncryptionKey()
{
uno::Sequence< sal_Int8 > aResult;