diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-06-12 17:04:49 +0300 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-06-24 12:02:32 +0000 |
commit | 31a6ebe912305eff610d91497831e6ddd213f964 (patch) | |
tree | 1fb20b8506449faab0f2fa0066f2d4cf3e5dffa7 /svx | |
parent | f4ba6e35085ced7fcf29276590ffd631280d112f (diff) |
Don't display the "broken OLE link" icon except on Windows
Change-Id: Iede3d98ab5e5f9cd1896465e2a8c61605601999f
(cherry picked from commit fbb7c74a2c5cd37d4ff27deb154656655f047bbc)
Reviewed-on: https://gerrit.libreoffice.org/4472
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
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 7177957cafa6..25dad7562bef 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); |