summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2011-07-25 01:58:39 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2011-07-25 01:58:39 +0200
commit10cb4dbbcf7eb07079087c59bc79c234ee66929a (patch)
tree65b1d1e71b5ec66fa152eb814321e4f0ede8407d /sfx2
parentbd3652549c06b441e7fd750e46123acab6eacb49 (diff)
fix for fdo#38561:unable to save protected file without pw
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/objstor.cxx1
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 );