Don't display the "broken OLE link" icon except on Windows
Change-Id: Iede3d98ab5e5f9cd1896465e2a8c61605601999f
This commit is contained in:
@@ -51,14 +51,14 @@ namespace drawinglayer
|
|||||||
bScaleContent = pSource->IsEmptyPresObj();
|
bScaleContent = pSource->IsEmptyPresObj();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#ifdef WNT // Little point in displaying the "broken OLE" graphic on OSes that don't have real OLE, maybe?
|
||||||
if(GRAPHIC_NONE == aGraphic.GetType())
|
if(GRAPHIC_NONE == aGraphic.GetType())
|
||||||
{
|
{
|
||||||
// no source, use fallback resource emty OLE graphic
|
// no source, use fallback resource emty OLE graphic
|
||||||
aGraphic = SdrOle2Obj::GetEmptyOLEReplacementGraphic();
|
aGraphic = SdrOle2Obj::GetEmptyOLEReplacementGraphic();
|
||||||
bScaleContent = true;
|
bScaleContent = true;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
if(GRAPHIC_NONE != aGraphic.GetType())
|
if(GRAPHIC_NONE != aGraphic.GetType())
|
||||||
{
|
{
|
||||||
const GraphicObject aGraphicObject(aGraphic);
|
const GraphicObject aGraphicObject(aGraphic);
|
||||||
|
Reference in New Issue
Block a user