diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2012-04-11 13:23:09 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2012-04-12 11:39:11 +0200 |
commit | a555fa2fd52b498cbf779d7c8383d39144cb6ab8 (patch) | |
tree | 59d0093a9cb7871c5faf5d2d45a6163466755b4e /oox | |
parent | cfa4c9c11538b332234709dedc7ca553a10ab08e (diff) |
unusedcode.easy: remove FilterBase::requestEncryptionData
Diffstat (limited to 'oox')
-rw-r--r-- | oox/inc/oox/core/filterbase.hxx | 5 | ||||
-rw-r--r-- | oox/source/core/filterbase.cxx | 8 |
2 files changed, 0 insertions, 13 deletions
diff --git a/oox/inc/oox/core/filterbase.hxx b/oox/inc/oox/core/filterbase.hxx index 41f49f7669ce..709b38694f6f 100644 --- a/oox/inc/oox/core/filterbase.hxx +++ b/oox/inc/oox/core/filterbase.hxx @@ -213,11 +213,6 @@ public: /** Returns the VBA project manager. */ ::oox::ole::VbaProject& getVbaProject() const; - /** Requests the encryption data from the media descriptor or from the user. On - success, the encryption data will be inserted into the media descriptor. */ - ::com::sun::star::uno::Sequence< ::com::sun::star::beans::NamedValue > - requestEncryptionData( ::comphelper::IDocPasswordVerifier& rVerifier ) const; - /** Imports the raw binary data from the specified stream. @return True, if the data could be imported from the stream. */ bool importBinaryData( StreamDataSequence& orDataSeq, const ::rtl::OUString& rStreamName ); diff --git a/oox/source/core/filterbase.cxx b/oox/source/core/filterbase.cxx index 2620272f6803..ce4fe3d953e6 100644 --- a/oox/source/core/filterbase.cxx +++ b/oox/source/core/filterbase.cxx @@ -413,14 +413,6 @@ VbaProject& FilterBase::getVbaProject() const return *mxImpl->mxVbaProject; } -Sequence< NamedValue > FilterBase::requestEncryptionData( ::comphelper::IDocPasswordVerifier& rVerifier ) const -{ - ::std::vector< OUString > aDefaultPasswords; - aDefaultPasswords.push_back( CREATE_OUSTRING( "VelvetSweatshop" ) ); - return ::comphelper::DocPasswordHelper::requestAndVerifyDocPassword( - rVerifier, mxImpl->maMediaDesc, ::comphelper::DocPasswordRequestType_MS, &aDefaultPasswords ); -} - bool FilterBase::importBinaryData( StreamDataSequence& orDataSeq, const OUString& rStreamName ) { OSL_ENSURE( !rStreamName.isEmpty(), "FilterBase::importBinaryData - empty stream name" ); |