summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
Diffstat (limited to 'cui')
-rw-r--r--cui/source/options/optjava.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/cui/source/options/optjava.cxx b/cui/source/options/optjava.cxx
index 2a3d1de351ad..97d1609c981d 100644
--- a/cui/source/options/optjava.cxx
+++ b/cui/source/options/optjava.cxx
@@ -60,7 +60,7 @@ using namespace ::com::sun::star::ucb;
using namespace ::com::sun::star::ui::dialogs;
using namespace ::com::sun::star::uno;
-
+#if HAVE_FEATURE_JAVA
static bool areListsEqual( const Sequence< OUString >& rListA, const Sequence< OUString >& rListB )
{
@@ -87,6 +87,8 @@ static bool areListsEqual( const Sequence< OUString >& rListA, const Sequence< O
return bRet;
}
+#endif
+
class SvxJavaListBox : public svx::SvxRadioButtonListBox
{
private: