18 lines
498 B
Diff
18 lines
498 B
Diff
--- a/cui/source/options/optjava.cxx
|
|
+++ b/cui/source/options/optjava.cxx
|
|
@@ -976,6 +976,7 @@ OUString SvxJavaClassPathDlg::GetClassPa
|
|
#if HAVE_FEATURE_JAVA
|
|
void SvxJavaClassPathDlg::SetClassPath( const OUString& _rPath )
|
|
{
|
|
+#if HAVE_FEATURE_JAVA
|
|
if ( m_sOldPath.isEmpty() )
|
|
m_sOldPath = _rPath;
|
|
m_xPathList->clear();
|
|
@@ -1001,6 +1002,7 @@ void SvxJavaClassPathDlg::SetClassPath(
|
|
m_xPathList->select(0);
|
|
}
|
|
SelectHdl_Impl(*m_xPathList);
|
|
+#endif
|
|
}
|
|
#endif
|
|
|