Kaydet (Commit) fbb7c74a authored tarafından Tor Lillqvist's avatar Tor Lillqvist

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

Change-Id: Iede3d98ab5e5f9cd1896465e2a8c61605601999f
üst e7b87d69
...@@ -51,14 +51,14 @@ namespace drawinglayer ...@@ -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);
......
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