Don't display the "broken OLE link" icon except on Windows

Change-Id: Iede3d98ab5e5f9cd1896465e2a8c61605601999f
This commit is contained in:
Tor Lillqvist
2013-06-12 17:04:49 +03:00
parent e7b87d69be
commit fbb7c74a2c

View File

@@ -51,14 +51,14 @@ namespace drawinglayer
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())
{
// no source, use fallback resource emty OLE graphic
aGraphic = SdrOle2Obj::GetEmptyOLEReplacementGraphic();
bScaleContent = true;
}
#endif
if(GRAPHIC_NONE != aGraphic.GetType())
{
const GraphicObject aGraphicObject(aGraphic);