summaryrefslogtreecommitdiff
path: root/sd/source/ui/docshell/docshell.cxx
diff options
context:
space:
mode:
authorKai Ahrens <ka@openoffice.org>2001-03-16 16:41:14 +0000
committerKai Ahrens <ka@openoffice.org>2001-03-16 16:41:14 +0000
commit0b1a3e1ca2a748ceea664782543aad2b464158cd (patch)
treeb39b7473f90520dc46a07e3d5454768440a405f9 /sd/source/ui/docshell/docshell.cxx
parent2ba4ed387cec474c578d539a7535b52304514ef1 (diff)
#84024#: set version and key at opened stream
Diffstat (limited to 'sd/source/ui/docshell/docshell.cxx')
-rw-r--r--sd/source/ui/docshell/docshell.cxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/sd/source/ui/docshell/docshell.cxx b/sd/source/ui/docshell/docshell.cxx
index 25ddcb26198f..2a05e7bd1d23 100644
--- a/sd/source/ui/docshell/docshell.cxx
+++ b/sd/source/ui/docshell/docshell.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: docshell.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: cl $ $Date: 2001-02-19 13:35:25 $
+ * last change: $Author: ka $ $Date: 2001-03-16 17:35:59 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -537,6 +537,12 @@ SvStream* SdDrawDocShell::GetDocumentStream(SdrDocumentStreamInfo& rStreamInfo)
xPictureStorage->IsStream( aPictureStreamName ) )
{
pRet = xPictureStorage->OpenStream( aPictureStreamName );
+
+ if( pRet )
+ {
+ pRet->SetVersion( xPictureStorage->GetVersion() );
+ pRet->SetKey( xPictureStorage->GetKey() );
+ }
}
}