From 8002577fd685c129c994c1205861824113e8f3dd Mon Sep 17 00:00:00 2001 From: Carsten Niehaus Date: Thu, 9 Feb 2012 19:18:55 +0100 Subject: [PATCH] Removing one obsolte GNUC check for GCC < 4.0.1 See https://bugs.freedesktop.org/show_bug.cgi?id=45131 --- canvas/source/simplecanvas/simplecanvasimpl.cxx | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-) 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_ > serviceImpl; - const sdecl::ServiceDecl simpleCanvasDecl( - serviceImpl, -#else const sdecl::ServiceDecl simpleCanvasDecl( sdecl::class_ >(), -#endif "com.sun.star.comp.rendering.SimpleCanvas", SERVICE_NAME ); } -- 1.7.7