summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2019-09-18 11:48:13 +0200
committerAndras Timar <andras.timar@collabora.com>2019-09-20 23:53:28 +0200
commit693ba5704b0a26319b3b780f8553eb3e99bad7a1 (patch)
tree65a2ef3e659aa993098dfb92cd7fbe7833c57020 /framework
parentde4dfa06c9b353e3c34dfea14b38325a87f6ec8a (diff)
Replace remaining occurrences of LIBO_HEADLESS with HAVE_FEATURE_UI
Change-Id: Ie2b04ee443dece851d3d96afbc932aa64369c75c Reviewed-on: https://gerrit.libreoffice.org/79084 Tested-by: Jenkins Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'framework')
-rw-r--r--framework/source/fwe/helper/titlehelper.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/framework/source/fwe/helper/titlehelper.cxx b/framework/source/fwe/helper/titlehelper.cxx
index a09605ecc18a..a50cc4b401af 100644
--- a/framework/source/fwe/helper/titlehelper.cxx
+++ b/framework/source/fwe/helper/titlehelper.cxx
@@ -17,6 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <config_features.h>
+
#include <framework/titlehelper.hxx>
#include <classes/fwkresid.hxx>
#include <strings.hrc>
@@ -600,7 +602,7 @@ void TitleHelper::impl_appendDebugVersion (OUStringBuffer& sTitle)
OUString sVersion = ::utl::Bootstrap::getBuildIdData("development");
sTitle.append(" [");
sTitle.append(sVersion);
-#ifndef LIBO_HEADLESS
+#if HAVE_FEATURE_UI
if (OpenGLWrapper::isVCLOpenGLEnabled())
sTitle.append("-GL");
#endif