diff options
author | Tor Lillqvist <tml@collabora.com> | 2016-12-08 08:34:26 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2016-12-08 10:29:15 +0200 |
commit | b4c56f732350d27f957318a6820d5e9c037e5d5e (patch) | |
tree | 5d5b53c178bdb2b79d944a27807e4b1dea75ba86 /vcl | |
parent | df1de153d4a9e103dbf4580f91b3b15a77c44c1a (diff) |
Try to fix --disable-gui build
Change-Id: I4f56b98f9475dd915fed10b67bb72dd12d859597
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/headless/svpinst.cxx | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/vcl/headless/svpinst.cxx b/vcl/headless/svpinst.cxx index 39ad72737a33..0397342f1d1c 100644 --- a/vcl/headless/svpinst.cxx +++ b/vcl/headless/svpinst.cxx @@ -449,6 +449,20 @@ void SvpSalInstance::AddToRecentDocumentList(const OUString&, const OUString&, c } //obviously doesn't actually do anything, its just a nonfunctional stub + +#ifdef LIBO_HEADLESS + +class SvpOpenGLContext +{ +}; + +OpenGLContext* SvpSalInstance::CreateOpenGLContext() +{ + return nullptr; +} + +#else + class SvpOpenGLContext : public OpenGLContext { GLWindow m_aGLWin; @@ -462,6 +476,8 @@ OpenGLContext* SvpSalInstance::CreateOpenGLContext() return new SvpOpenGLContext; } +#endif + SvpSalTimer::~SvpSalTimer() { } |