diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-07-25 01:58:39 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-07-25 01:58:39 +0200 |
commit | 10cb4dbbcf7eb07079087c59bc79c234ee66929a (patch) | |
tree | 65b1d1e71b5ec66fa152eb814321e4f0ede8407d | |
parent | Remove an unused reference to javaoptions.hxx (diff) | |
download | core-10cb4dbbcf7eb07079087c59bc79c234ee66929a.tar.gz core-10cb4dbbcf7eb07079087c59bc79c234ee66929a.zip |
fix for fdo#38561:unable to save protected file without pw
-rw-r--r-- | sfx2/source/doc/objstor.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx index d7a59a7b3854..49f4b211010d 100644 --- a/sfx2/source/doc/objstor.cxx +++ b/sfx2/source/doc/objstor.cxx @@ -2685,6 +2685,7 @@ sal_Bool SfxObjectShell::PreDoSaveAs_Impl SfxAllItemSet* pMergedParams = new SfxAllItemSet( *pMedium->GetItemSet() ); // in "SaveAs" title and password will be cleared ( maybe the new itemset contains new values, otherwise they will be empty ) + pMergedParams->ClearItem( SID_ENCRYPTIONDATA ); pMergedParams->ClearItem( SID_PASSWORD ); pMergedParams->ClearItem( SID_DOCINFO_TITLE ); |