Kaydet (Commit) ed2c0082 authored tarafından Oliver Bolte's avatar Oliver Bolte

INTEGRATION: CWS swqbugfixes11 (1.108.46); FILE MERGED

2004/12/15 07:50:35 od 1.108.46.1: #i32596# - adjustments to avoid import of OLE objects inside group objects
           in the Writer.
üst 1984c00e
......@@ -2,9 +2,9 @@
*
* $RCSfile: msdffimp.cxx,v $
*
* $Revision: 1.108 $
* $Revision: 1.109 $
*
* last change: $Author: rt $ $Date: 2004-11-26 18:13:27 $
* last change: $Author: obo $ $Date: 2005-01-05 14:39:44 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
......@@ -4448,7 +4448,12 @@ SdrObject* SvxMSDffManager::ImportGraphic( SvStream& rSt, SfxItemSet& rSet, Rect
// sollte es ein OLE-Object sein?
if( bGrfRead && !bLinkGrf && IsProperty( DFF_Prop_pictureId ) )
pRet = ImportOLE( GetPropertyValue( DFF_Prop_pictureId ), aGraf, aBoundRect );
{
// --> OD 2004-12-14 #i32596# - pass <nCalledByGroup> to method
pRet = ImportOLE( GetPropertyValue( DFF_Prop_pictureId ), aGraf,
aBoundRect, rObjData.nCalledByGroup );
// <--
}
if( !pRet )
{
pRet = new SdrGrafObj;
......@@ -6818,8 +6823,12 @@ BOOL SvxMSDffManager::ShapeHasText( ULONG nShapeId, ULONG nFilePos ) const
return TRUE;
}
SdrObject* SvxMSDffManager::ImportOLE( long nOLEId, const Graphic& rGrf,
const Rectangle& rBoundRect ) const
// --> OD 2004-12-14 #i32596# - add new parameter <_nCalledByGroup>
SdrObject* SvxMSDffManager::ImportOLE( long nOLEId,
const Graphic& rGrf,
const Rectangle& rBoundRect,
const int _nCalledByGroup ) const
// <--
{
SdrObject* pRet = 0;
String sStorageName;
......
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