summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
authorCarsten Niehaus <cniehaus@kde.org>2012-02-09 19:18:55 +0100
committerStephan Bergmann <sbergman@redhat.com>2012-02-10 10:56:13 +0100
commit40cddfce8b2e53a4203760b40833bbd9092cac68 (patch)
tree2d866996d97e00029feaddcd1138f1f5e06cc441 /canvas
parent3957a49b124fcde5e17443c18f47930517a15c36 (diff)
Removing one obsolte GNUC check for GCC < 4.0.1
See https://bugs.freedesktop.org/show_bug.cgi?id=45131
Diffstat (limited to 'canvas')
-rw-r--r--canvas/source/simplecanvas/simplecanvasimpl.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/canvas/source/simplecanvas/simplecanvasimpl.cxx b/canvas/source/simplecanvas/simplecanvasimpl.cxx
index ec1f521aa8d1..57a8888c2547 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 );
}