summaryrefslogtreecommitdiff
path: root/cui/source/options/optjava.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/options/optjava.hxx')
-rw-r--r--cui/source/options/optjava.hxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/cui/source/options/optjava.hxx b/cui/source/options/optjava.hxx
index 11c5424fd033..7509082eda2f 100644
--- a/cui/source/options/optjava.hxx
+++ b/cui/source/options/optjava.hxx
@@ -19,6 +19,8 @@
#ifndef _SVX_OPTJAVA_HXX
#define _SVX_OPTJAVA_HXX
+#include <config_features.h>
+
#include <vector>
#include <ucbhelper/content.hxx>
#include <vcl/button.hxx>
@@ -33,7 +35,7 @@
// forward ---------------------------------------------------------------
-#ifdef SOLAR_JAVA
+#if HAVE_FEATURE_JAVA
typedef struct _JavaInfo JavaInfo;
#else
typedef void* JavaInfo;
@@ -59,7 +61,7 @@ private:
SvxJavaParameterDlg* m_pParamDlg;
SvxJavaClassPathDlg* m_pPathDlg;
-#ifdef SOLAR_JAVA
+#if HAVE_FEATURE_JAVA
JavaInfo** m_parJavaInfo;
rtl_uString** m_parParameters;
rtl_uString* m_pClassPath;