summaryrefslogtreecommitdiff
path: root/package/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-07-07 10:12:55 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-07-07 11:01:11 +0000
commite546ed01e6bf6dbd8a30cecead4b0b75e2afe92a (patch)
treea0802d5bc6f57d75cad302069ff88d4390636660 /package/inc
parent3ddaeaab37d585971e376de6ad7b0f06f55f2e1a (diff)
loplugin:unusedmethods package
Change-Id: I19d6bbb9288d72b99d1023b4983b1c3fff7570e8 Reviewed-on: https://gerrit.libreoffice.org/16811 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'package/inc')
-rw-r--r--package/inc/ByteChucker.hxx7
-rw-r--r--package/inc/ZipFile.hxx12
-rw-r--r--package/inc/ZipPackage.hxx1
-rw-r--r--package/inc/ZipPackageBuffer.hxx1
-rw-r--r--package/inc/ZipPackageEntry.hxx1
5 files changed, 0 insertions, 22 deletions
diff --git a/package/inc/ByteChucker.hxx b/package/inc/ByteChucker.hxx
index e317e8acd6c4..fc1167ef978f 100644
--- a/package/inc/ByteChucker.hxx
+++ b/package/inc/ByteChucker.hxx
@@ -64,13 +64,6 @@ public:
WriteBytes( a4Sequence );
}
- void WriteUInt16(sal_uInt16 nuInt16)
- {
- p2Sequence[0] = static_cast< sal_Int8 >((nuInt16 >> 0 ) & 0xFF);
- p2Sequence[1] = static_cast< sal_Int8 >((nuInt16 >> 8 ) & 0xFF);
- WriteBytes( a2Sequence );
- }
-
void WriteUInt32(sal_uInt32 nuInt32)
{
p4Sequence[0] = static_cast < sal_Int8 > ((nuInt32 >> 0 ) & 0xFF);
diff --git a/package/inc/ZipFile.hxx b/package/inc/ZipFile.hxx
index 18d2f0ab3160..83ffd1cd236a 100644
--- a/package/inc/ZipFile.hxx
+++ b/package/inc/ZipFile.hxx
@@ -67,18 +67,6 @@ protected:
bool bRecoveryMode;
- com::sun::star::uno::Reference < com::sun::star::io::XInputStream > createMemoryStream(
- ZipEntry & rEntry,
- const ::rtl::Reference < EncryptionData > &rData,
- bool bRawStream,
- bool bDecrypt );
-
- com::sun::star::uno::Reference < com::sun::star::io::XInputStream > createFileStream(
- ZipEntry & rEntry,
- const ::rtl::Reference < EncryptionData > &rData,
- bool bRawStream,
- bool bDecrypt );
-
// aMediaType parameter is used only for raw stream header creation
com::sun::star::uno::Reference < com::sun::star::io::XInputStream > createUnbufferedStream(
const rtl::Reference<SotMutexHolder>& aMutexHolder,
diff --git a/package/inc/ZipPackage.hxx b/package/inc/ZipPackage.hxx
index 131887664292..18f8639ec998 100644
--- a/package/inc/ZipPackage.hxx
+++ b/package/inc/ZipPackage.hxx
@@ -191,7 +191,6 @@ public:
static OUString static_getImplementationName();
static ::com::sun::star::uno::Sequence < OUString > static_getSupportedServiceNames();
static ::com::sun::star::uno::Reference < com::sun::star::lang::XSingleServiceFactory > createServiceFactory( com::sun::star::uno::Reference < com::sun::star::lang::XMultiServiceFactory > const & rServiceFactory );
- bool SAL_CALL static_supportsService(OUString const & rServiceName);
};
#endif
diff --git a/package/inc/ZipPackageBuffer.hxx b/package/inc/ZipPackageBuffer.hxx
index 8f1b9ff7b97d..df1d8dbf9806 100644
--- a/package/inc/ZipPackageBuffer.hxx
+++ b/package/inc/ZipPackageBuffer.hxx
@@ -40,7 +40,6 @@ public:
virtual ~ZipPackageBuffer();
inline void realloc ( sal_Int32 nSize ) { m_aBuffer.realloc ( nSize ); }
- inline const sal_Int8 * getConstArray () const { return m_aBuffer.getConstArray(); }
inline const com::sun::star::uno::Sequence < sal_Int8> getSequence () const { return m_aBuffer; }
// XInputStream
diff --git a/package/inc/ZipPackageEntry.hxx b/package/inc/ZipPackageEntry.hxx
index fe19772f5d05..c1e5c8ffe290 100644
--- a/package/inc/ZipPackageEntry.hxx
+++ b/package/inc/ZipPackageEntry.hxx
@@ -64,7 +64,6 @@ public:
void SetMediaType ( const OUString & sNewType) { msMediaType = sNewType; }
void doSetParent ( ZipPackageFolder * pNewParent, bool bInsert );
bool IsFolder ( ) { return mbIsFolder; }
- const ZipPackageFolder* GetParent () const { return mpParent; }
void SetFolder ( bool bSetFolder ) { mbIsFolder = bSetFolder; }
virtual bool saveChild( const OUString &rPath,