diff options
author | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2018-02-22 23:52:54 +0100 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2018-02-23 08:41:11 +0100 |
commit | ce43b10ccac41d352bcbf3a40e36360c3d0483c2 (patch) | |
tree | e2ebe62e3b98ad5d066ac86392fb530da4acdd83 /framework | |
parent | b37a46fdf91dbc66f6ddc1c070aec70716d94a01 (diff) |
get headless build to work again for Linux
This makes --disable-gui option build successfully again - which
means we again run on a headless server w/o any X11 or OpenGL libs.
Change-Id: I60019af571aecdac277adbe6d34d5fff065014f9
Reviewed-on: https://gerrit.libreoffice.org/50214
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'framework')
-rw-r--r-- | framework/source/fwe/helper/titlehelper.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/framework/source/fwe/helper/titlehelper.cxx b/framework/source/fwe/helper/titlehelper.cxx index 82ded83040f4..3d7943623753 100644 --- a/framework/source/fwe/helper/titlehelper.cxx +++ b/framework/source/fwe/helper/titlehelper.cxx @@ -562,8 +562,10 @@ void TitleHelper::impl_appendDebugVersion (OUStringBuffer& sTitle) OUString sVersion = ::utl::Bootstrap::getBuildIdData("development"); sTitle.append(" ["); sTitle.append(sVersion); +#ifndef LIBO_HEADLESS if (OpenGLWrapper::isVCLOpenGLEnabled()) sTitle.append("-GL"); +#endif sTitle.append("]"); } #else |