diff options
author | Noel Grandin <noel@peralex.com> | 2016-09-22 15:08:42 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-09-22 18:56:58 +0000 |
commit | c4cd079b8f613084a99a83b95c3968b65cbd8900 (patch) | |
tree | 16051edcfd1f7109aefa08af6d71da0687b20f8a /sdext/source/pdfimport/pdfparse/pdfentries.cxx | |
parent | ba3d6d8a39d31316923d2326059c07b0a7e3c05e (diff) |
loplugin:unusedmethods in sc..vcl
Change-Id: I70fcf95dfd3db05b4fd6e5cee37866f673d3afa8
Reviewed-on: https://gerrit.libreoffice.org/29183
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sdext/source/pdfimport/pdfparse/pdfentries.cxx')
-rw-r--r-- | sdext/source/pdfimport/pdfparse/pdfentries.cxx | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/sdext/source/pdfimport/pdfparse/pdfentries.cxx b/sdext/source/pdfimport/pdfparse/pdfentries.cxx index 01e9893f989d..237609ef76fd 100644 --- a/sdext/source/pdfimport/pdfparse/pdfentries.cxx +++ b/sdext/source/pdfimport/pdfparse/pdfentries.cxx @@ -1262,23 +1262,6 @@ bool PDFFile::setupDecryptionData( const OString& rPwd ) const return bValid; } -OUString PDFFile::getDecryptionKey() const -{ - OUStringBuffer aBuf( ENCRYPTION_KEY_LEN * 2 ); - if( impl_getData()->m_bIsEncrypted ) - { - for( sal_uInt32 i = 0; i < m_pData->m_nKeyLength; i++ ) - { - static const sal_Unicode pHexTab[16] = { '0', '1', '2', '3', '4', '5', '6', '7', - '8', '9', 'A', 'B', 'C', 'D', 'E', 'F' }; - aBuf.append( pHexTab[(m_pData->m_aDecryptionKey[i] >> 4) & 0x0f] ); - aBuf.append( pHexTab[(m_pData->m_aDecryptionKey[i] & 0x0f)] ); - } - - } - return aBuf.makeStringAndClear(); -} - PDFFileImplData* PDFFile::impl_getData() const { if( m_pData ) |