[Libreoffice-commits] .: Branch 'libreoffice-3-4' - sfx2/source

Andras Timar timar at kemper.freedesktop.org
Sat Jul 2 04:34:20 PDT 2011


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

New commits:
commit 3b66549a40f52d32578dd72d838b7401591c30f5
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Sat Jul 2 13:33:06 2011 +0200

    unable to save protected file without pw fdo#38561
    
    Signed-off-by: Andras Timar <atimar at suse.com>

diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx
index f0db081..3b29f52 100644
--- a/sfx2/source/doc/objstor.cxx
+++ b/sfx2/source/doc/objstor.cxx
@@ -2811,7 +2811,7 @@ sal_Bool SfxObjectShell::PreDoSaveAs_Impl
     // in "SaveAs" title and password will be cleared ( maybe the new itemset contains new values, otherwise they will be empty )
     pMergedParams->ClearItem( SID_PASSWORD );
     pMergedParams->ClearItem( SID_DOCINFO_TITLE );
-
+    pMergedParams->ClearItem( SID_ENCRYPTIONDATA );
     pMergedParams->ClearItem( SID_INPUTSTREAM );
     pMergedParams->ClearItem( SID_STREAM );
     pMergedParams->ClearItem( SID_CONTENT );


More information about the Libreoffice-commits mailing list