diff options
author | Tor Lillqvist <tml@collabora.com> | 2016-12-18 11:01:56 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2016-12-18 11:01:56 +0200 |
commit | db9aec4520766c87a09d4cb0238ed06ebaeaaeeb (patch) | |
tree | 77be2ceade7e6382b1bb30c3eadfa2d2a353f208 /chart2 | |
parent | 53edf60c4ce6ed32f87471e018878c40b788005a (diff) |
-Werror,-Wunused-function
Change-Id: Ia6c8c807c90931da4a5f3cab79d178f88bce290e
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/view/main/AbstractShapeFactory.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chart2/source/view/main/AbstractShapeFactory.cxx b/chart2/source/view/main/AbstractShapeFactory.cxx index c51434552021..5d79ca406723 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 |