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 | b2c0875e46c667c10297a9dd32e7309118296c3e (patch) | |
tree | 0453492f52885ac9efd5cf80bf90c260aa5bb365 /sfx2 | |
parent | 30e007cd5740b827e47a2610460a5091629eef0f (diff) |
fix for fdo#38561:unable to save protected file without pw
Diffstat (limited to 'sfx2')
-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 ac055e4113..31ee8f0771 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 ); |