[Libreoffice-commits] .: sfx2/source

Markus Mohrhard mmohrhard at kemper.freedesktop.org
Sun Jul 24 17:00:55 PDT 2011


 sfx2/source/doc/objstor.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit b2c0875e46c667c10297a9dd32e7309118296c3e
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Mon Jul 25 01:58:39 2011 +0200

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

diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx
index ac055e4..31ee8f0 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 );
 


More information about the Libreoffice-commits mailing list