Kaydet (Commit) 10cb4dbb authored tarafından Markus Mohrhard's avatar Markus Mohrhard

fix for fdo#38561:unable to save protected file without pw

üst bd365254
...@@ -2685,6 +2685,7 @@ sal_Bool SfxObjectShell::PreDoSaveAs_Impl ...@@ -2685,6 +2685,7 @@ sal_Bool SfxObjectShell::PreDoSaveAs_Impl
SfxAllItemSet* pMergedParams = new SfxAllItemSet( *pMedium->GetItemSet() ); 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 ) // 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_PASSWORD );
pMergedParams->ClearItem( SID_DOCINFO_TITLE ); pMergedParams->ClearItem( SID_DOCINFO_TITLE );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment