Ticket #18435: libreoffice-7.6.0.3-build_failure-1.patch

File libreoffice-7.6.0.3-build_failure-1.patch, 670 bytes (added by martyj19, 20 months ago)

Patch to fix build failure with --disable-java

  • TabularUnified cui/source/options/optjava.cxx

    diff -Naur libreoffice-7.6.0.3.orig/cui/source/options/optjava.cxx libreoffice-7.6.0.3/cui/source/options/optjava.cxx
    old new  
    937937
    938938void SvxJavaClassPathDlg::SetClassPath( const OUString& _rPath )
    939939{
     940#if HAVE_FEATURE_JAVA
    940941    if ( m_sOldPath.isEmpty() )
    941942        m_sOldPath = _rPath;
    942943    m_xPathList->clear();
     
    962963        m_xPathList->select(0);
    963964    }
    964965    SelectHdl_Impl(*m_xPathList);
     966#endif
    965967}
    966968
    967969/* vim:set shiftwidth=4 softtabstop=4 expandtab: */