-Werror,-Wunused-function

Change-Id: Ia6c8c807c90931da4a5f3cab79d178f88bce290e
diff --git a/chart2/source/view/main/AbstractShapeFactory.cxx b/chart2/source/view/main/AbstractShapeFactory.cxx
index c514345..5d79ca4 100644
--- a/chart2/source/view/main/AbstractShapeFactory.cxx
+++ b/chart2/source/view/main/AbstractShapeFactory.cxx
@@ -54,6 +54,8 @@ namespace {

typedef opengl::OpenglShapeFactory* (*getOpenglShapeFactory_)(void);

#if HAVE_FEATURE_UI

#ifndef DISABLE_DYNLOADING

void SAL_CALL thisModule() {}
@@ -75,6 +77,8 @@ osl::Module* getOpenGLModule()

#endif

#endif

}

#ifdef DISABLE_DYNLOADING