chart2/source/view/main/AbstractShapeFactory.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit db9aec4520766c87a09d4cb0238ed06ebaeaaeeb
Author: Tor Lillqvist <[email protected]>
Date:   Sun Dec 18 11:01:56 2016 +0200

    -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
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to