summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2007-03-26 11:09:54 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2007-03-26 11:09:54 +0000
commit7e8ca06f0ee1aad328728f636d0a3dfb5e8e0e37 (patch)
tree3e0953160f5b48a481b974e57da827d4cc1de37a /sfx2
parentaa94128fd8914d9aa70a42a3cc88ffc0b27bb009 (diff)
INTEGRATION: CWS fwk61 (1.109.70); FILE MERGED
2007/02/14 07:33:30 mav 1.109.70.1: #i73716# fix versions access in password protected file
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/appopen.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/sfx2/source/appl/appopen.cxx b/sfx2/source/appl/appopen.cxx
index ded8f21e4bce..4490de3c2389 100644
--- a/sfx2/source/appl/appopen.cxx
+++ b/sfx2/source/appl/appopen.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: appopen.cxx,v $
*
- * $Revision: 1.109 $
+ * $Revision: 1.110 $
*
- * last change: $Author: vg $ $Date: 2006-11-22 10:54:44 $
+ * last change: $Author: ihi $ $Date: 2007-03-26 12:09:54 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -397,6 +397,9 @@ ULONG CheckPasswd_Impl
::comphelper::OStorageHelper::SetCommonStoragePassword(
xStorage,
pPasswordRequest->getPassword() );
+
+ // update the version list of the medium using the new password
+ pFile->GetVersionList();
}
catch( uno::Exception& )
{