[Libreoffice-commits] core.git: Branch 'distro/suse/suse-4.0.3' - svx/source

Tor Lillqvist tml at iki.fi
Thu Jun 13 07:18:15 PDT 2013


 svx/source/sdr/primitive2d/sdrolecontentprimitive2d.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit d719c3641e26de3e744f81a1a095c515b58c64ba
Author: Tor Lillqvist <tml at iki.fi>
Date:   Wed Jun 12 17:04:49 2013 +0300

    Don't display the "broken OLE link" icon except on Windows
    
    Change-Id: Iede3d98ab5e5f9cd1896465e2a8c61605601999f

diff --git a/svx/source/sdr/primitive2d/sdrolecontentprimitive2d.cxx b/svx/source/sdr/primitive2d/sdrolecontentprimitive2d.cxx
index 5ecedad..223ac45 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);


More information about the Libreoffice-commits mailing list