diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-06-12 17:04:49 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-06-20 19:28:29 +0300 |
commit | fbb7c74a2c5cd37d4ff27deb154656655f047bbc (patch) | |
tree | 4716216b3277f173f70def0b655afdda863e06a5 | |
parent | e7b87d69be29dfe9d7c879935a26171beba29cb5 (diff) |
Don't display the "broken OLE link" icon except on Windows
Change-Id: Iede3d98ab5e5f9cd1896465e2a8c61605601999f
-rw-r--r-- | svx/source/sdr/primitive2d/sdrolecontentprimitive2d.cxx | 4 |
1 files 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); |