summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2004-03-17 10:26:58 +0000
committerOliver Bolte <obo@openoffice.org>2004-03-17 10:26:58 +0000
commit710141a82b81b2af322c88fe0b383db3fecbbd22 (patch)
treec32a2505e0d78056f6b923374f837047ff1db936
parent5fe8315e38969b449a6c4f1e72388f37dfb37e9a (diff)
INTEGRATION: CWS impress4ea1 (1.55.16); FILE MERGED
2004/02/18 16:03:53 sj 1.55.16.1: I21122 now reading the CurrentUserStream
-rw-r--r--sd/source/filter/pptin.cxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/sd/source/filter/pptin.cxx b/sd/source/filter/pptin.cxx
index ea835ed13483..4d9d619b1b7e 100644
--- a/sd/source/filter/pptin.cxx
+++ b/sd/source/filter/pptin.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: pptin.cxx,v $
*
- * $Revision: 1.57 $
+ * $Revision: 1.58 $
*
- * last change: $Author: hr $ $Date: 2004-03-09 11:14:56 $
+ * last change: $Author: obo $ $Date: 2004-03-17 11:26:58 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -266,6 +266,12 @@ SdPPTImport::SdPPTImport( SdDrawDocument* pDocument, SvStream& rDocStream, SvSto
#endif
PowerPointImportParam aParam( rDocStream, nImportFlags, pTracer );
+ SvStream* pCurrentUserStream = rStorage.OpenStream( String( RTL_CONSTASCII_USTRINGPARAM( "Current User" ) ), STREAM_STD_READ );
+ if( pCurrentUserStream )
+ {
+ *pCurrentUserStream >> aParam.aCurrentUserAtom;
+ delete pCurrentUserStream;
+ }
pFilter = new ImplSdPPTImport( pDocument, rStorage, rMedium, aParam );
}