summaryrefslogtreecommitdiff
path: root/include/oox
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-03-29 11:41:17 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-03-29 11:43:40 +0000
commit9bfd742d8cdc4aab3dd817f13ab4cfa5cc60ae12 (patch)
tree51815ec709869dd297c10b8359b3bc4736204a98 /include/oox
parentcfaba15c589f882cc0bcce5cd07bdf3d30f547f6 (diff)
loplugin:unusedmethods
Change-Id: Ib008613fb06c82791c63d5b074a3e2ff1c3607a0 Reviewed-on: https://gerrit.libreoffice.org/35834 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/oox')
-rw-r--r--include/oox/core/binarycodec.hxx43
1 files changed, 0 insertions, 43 deletions
diff --git a/include/oox/core/binarycodec.hxx b/include/oox/core/binarycodec.hxx
index 6afcead07dc1..003455d8405c 100644
--- a/include/oox/core/binarycodec.hxx
+++ b/include/oox/core/binarycodec.hxx
@@ -109,35 +109,6 @@ public:
*/
bool verifyKey( sal_uInt16 nKey, sal_uInt16 nHash ) const;
- /** Reinitializes the codec to start a new memory block.
-
- Resets the internal key offset to 0.
-
- @precond
- The codec must be initialized with the initKey() function before
- this function can be used.
- */
- void startBlock();
-
- /** Decodes a block of memory.
-
- @precond
- The codec must be initialized with the initKey() function before
- this function can be used.
-
- @param pnDestData
- Destination buffer. Will contain the decrypted data afterwards.
- @param pnSrcData
- Encrypted data block.
- @param nBytes
- Size of the passed data blocks. pnDestData and pnSrcData must be of
- this size.
- */
- void decode(
- sal_uInt8* pnDestData,
- const sal_uInt8* pnSrcData,
- sal_Int32 nBytes );
-
/** Lets the cipher skip a specific amount of bytes.
This function sets the cipher to the same state as if the specified
@@ -270,20 +241,6 @@ public:
const sal_uInt8* pnSrcData,
sal_Int32 nBytes );
- /** Lets the cipher skip a specific amount of bytes.
-
- This function sets the cipher to the same state as if the specified
- amount of data has been decoded with one or more calls of decode().
-
- @precond
- The codec must be initialized with the initKey() function before
- this function can be used.
-
- @param nBytes
- Number of bytes to be skipped (cipher "seeks" forward).
- */
- void skip( sal_Int32 nBytes );
-
private:
rtlCipher mhCipher;
rtlDigest mhDigest;