diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-06-12 17:04:49 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-06-13 16:59:18 +0300 |
commit | 4548ed5eef6c1d9f97c4ca2947820d44f64a4710 (patch) | |
tree | 8f3922f5c951ce98651f3fa5b453b0ff6581825c /svx | |
parent | 6b10219eefc0d6bd0e871976d6fe781a26020c8b (diff) |
Don't display the "broken OLE link" icon except on Windows
Change-Id: Iede3d98ab5e5f9cd1896465e2a8c61605601999f
Diffstat (limited to 'svx')
-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 5ecedad34db2..223ac45cfd3f 100644 --- a/svx/source/sdr/primitive2d/sdrolecontentprimitive2d.cxx +++ b/svx/source/sdr/primitive2d/sdrolecontentprimitive2d.cxx @@ -51,7 +51,7 @@ 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 @@ -59,7 +59,7 @@ namespace drawinglayer aGraphic = Graphic(aEmptyOLEBitmap); bScaleContent = true; } - +#endif if(GRAPHIC_NONE != aGraphic.GetType()) { const GraphicObject aGraphicObject(aGraphic); |