Kaydet (Commit) c562d113 authored tarafından Kurt Zenker's avatar Kurt Zenker

INTEGRATION: CWS mav14 (1.15.32); FILE MERGED

2005/01/05 17:16:27 mav 1.15.32.1: #i39895# ignore the class id provided in the object name
üst da0f2483
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: xmleohlp.cxx,v $ * $RCSfile: xmleohlp.cxx,v $
* *
* $Revision: 1.15 $ * $Revision: 1.16 $
* *
* last change: $Author: rt $ * last change: $Author: kz $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -549,16 +549,13 @@ sal_Bool SvXMLEmbeddedObjectHelper::ImplReadObject( ...@@ -549,16 +549,13 @@ sal_Bool SvXMLEmbeddedObjectHelper::ImplReadObject(
// make object known to the container // make object known to the container
// TODO/LATER: could be done a little bit more efficient! // TODO/LATER: could be done a little bit more efficient!
::rtl::OUString aName( rObjName ); ::rtl::OUString aName( rObjName );
if( pClassId )
{ // TODO/LATER: The provided pClassId is ignored for now.
// If a class id is specifies, use it. // The stream contains OLE storage internally and this storage already has a class id specifying the
// TODO/LATER: it seems that passing a ClassID is strange // server that was used to create the object. pClassId could be used to specify the server that should
rContainer.CreateEmbeddedObject( pClassId->GetByteSequence(), aName ); // be used for the next opening, but this information seems to be out of the file format responsibility
} // area.
else rContainer.GetEmbeddedObject( aName );
{
rContainer.GetEmbeddedObject( aName );
}
return sal_True; return sal_True;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment