diff options
author | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2017-08-24 17:40:09 +0200 |
---|---|---|
committer | Katarina Behrens <Katarina.Behrens@cib.de> | 2017-08-31 12:02:32 +0200 |
commit | c54850b23a8240a41755af171a6d3f990ee69f84 (patch) | |
tree | 875ea90bc1490c8a14cc48a42722d38072f7203b /sfx2 | |
parent | f20810a1318a8dd55cb01e42a0fde7f0e1b36623 (diff) |
gpg4libre/comphelper: add storage helper for GPG encryption data
Change-Id: Idba9ad7a821cb33070cf5e5a0f79ae55db99b276
Reviewed-on: https://gerrit.libreoffice.org/41504
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Tested-by: Katarina Behrens <Katarina.Behrens@cib.de>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/dialog/filedlghelper.cxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sfx2/source/dialog/filedlghelper.cxx b/sfx2/source/dialog/filedlghelper.cxx index d6a5489f85ce..a4a6847deeea 100644 --- a/sfx2/source/dialog/filedlghelper.cxx +++ b/sfx2/source/dialog/filedlghelper.cxx @@ -1522,12 +1522,7 @@ ErrCode FileDialogHelper_Impl::execute( std::vector<OUString>& rpURLList, if ( ( aValue >>= bGpg ) && bGpg ) { // ask for a key - OUString aDocName(rpURLList[0]); - // ErrCode errCode = RequestKey(pCurrentFilter, aDocName, rpSet); - //if (errCode != ERRCODE_NONE) - rpSet->Put( SfxUnoAnyItem( SID_ENCRYPTIONDATA, uno::makeAny( ::comphelper::OStorageHelper::CreatePackageEncryptionData( aDocName ) ) ) ); - - return ERRCODE_IO_NOTSUPPORTED; //errCode; + rpSet->Put( SfxUnoAnyItem( SID_ENCRYPTIONDATA, uno::makeAny( ::comphelper::OStorageHelper::CreateGpgPackageEncryptionData() ) ) ); } } catch( const IllegalArgumentException& ){} |