summaryrefslogtreecommitdiff
path: root/sd/source/ui/docshell/docshell.cxx
diff options
context:
space:
mode:
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() );
+ }
}
}