summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-06-12 17:04:49 +0300
committerPetr Mladek <pmladek@suse.cz>2013-06-13 16:17:23 +0200
commitd719c3641e26de3e744f81a1a095c515b58c64ba (patch)
tree764170a87a088ee5798971439661d773c80074eb
parentf882db81d1261383fd980b6a0790ae4fd94ecd9d (diff)
Don't display the "broken OLE link" icon except on Windows
Change-Id: Iede3d98ab5e5f9cd1896465e2a8c61605601999f
-rw-r--r--svx/source/sdr/primitive2d/sdrolecontentprimitive2d.cxx4
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);