[Libreoffice-commits] .: canvas/source

Stephan Bergmann sbergmann at kemper.freedesktop.org
Fri Feb 10 01:57:50 PST 2012


 canvas/source/simplecanvas/simplecanvasimpl.cxx |    6 ------
 1 file changed, 6 deletions(-)

New commits:
commit 40cddfce8b2e53a4203760b40833bbd9092cac68
Author: Carsten Niehaus <cniehaus at kde.org>
Date:   Thu Feb 9 19:18:55 2012 +0100

    Removing one obsolte GNUC check for GCC < 4.0.1
    
    See https://bugs.freedesktop.org/show_bug.cgi?id=45131

diff --git a/canvas/source/simplecanvas/simplecanvasimpl.cxx b/canvas/source/simplecanvas/simplecanvasimpl.cxx
index ec1f521..57a8888 100644
--- a/canvas/source/simplecanvas/simplecanvasimpl.cxx
+++ b/canvas/source/simplecanvas/simplecanvasimpl.cxx
@@ -383,14 +383,8 @@ namespace
     };
 
     namespace sdecl = comphelper::service_decl;
-#if defined (__GNUC__) && (__GNUC__ == 3 && __GNUC_MINOR__ <= 3)
-    sdecl::class_<SimpleCanvasImpl, sdecl::with_args<true> > serviceImpl;
-    const sdecl::ServiceDecl simpleCanvasDecl(
-        serviceImpl,
-#else
     const sdecl::ServiceDecl simpleCanvasDecl(
         sdecl::class_<SimpleCanvasImpl, sdecl::with_args<true> >(),
-#endif
         "com.sun.star.comp.rendering.SimpleCanvas",
         SERVICE_NAME );
 }


More information about the Libreoffice-commits mailing list