From fbb7c74a2c5cd37d4ff27deb154656655f047bbc Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 12 Jun 2013 17:04:49 +0300 Subject: Don't display the "broken OLE link" icon except on Windows Change-Id: Iede3d98ab5e5f9cd1896465e2a8c61605601999f --- svx/source/sdr/primitive2d/sdrolecontentprimitive2d.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/svx/source/sdr/primitive2d/sdrolecontentprimitive2d.cxx b/svx/source/sdr/primitive2d/sdrolecontentprimitive2d.cxx index cea71d529d87..4e141844cc67 100644 --- a/svx/source/sdr/primitive2d/sdrolecontentprimitive2d.cxx +++ b/svx/source/sdr/primitive2d/sdrolecontentprimitive2d.cxx @@ -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); -- cgit v1.2.3