summaryrefslogtreecommitdiff
path: root/sdext/source/pdfimport/pdfparse/pdfentries.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sdext/source/pdfimport/pdfparse/pdfentries.cxx')
-rw-r--r--sdext/source/pdfimport/pdfparse/pdfentries.cxx17
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 )