diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2023-06-21 16:16:57 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2023-06-21 21:23:57 +0200 |
commit | 8b330bb761e05fcfabd5a30f8784046c93b91431 (patch) | |
tree | 8d524361052b35621e99a4d387be989522a9c159 /cui/source/options/optjava.hxx | |
parent | a6535604dea24c1907c24bfe6be22f79f1d85d56 (diff) |
cui: don't build SvxJavaClassPathDlg::SetClassPath() for the non-java case
Since SvxJavaClassPathDlg::SetClassPath is only called from #if
HAVE_FEATURE_JAVA code (in IMPL_LINK_NOARG(SvxJavaOptionsPage,
ClassPathHdl_Impl, weld::Button&, void) in
cui/source/options/optjava.cxx ) anyway, see
<https://gerrit.libreoffice.org/c/core/+/153386/2#message-06ee95be419a14ee8f08035142b5718e0377d120>.
Change-Id: I0e5a21036ce048c18d408c07cce088dbab7fc030
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153396
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'cui/source/options/optjava.hxx')
-rw-r--r-- | cui/source/options/optjava.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cui/source/options/optjava.hxx b/cui/source/options/optjava.hxx index 097b7ffb5336..929dfe71738a 100644 --- a/cui/source/options/optjava.hxx +++ b/cui/source/options/optjava.hxx @@ -200,7 +200,9 @@ public: void SetFocus() { m_xPathList->grab_focus(); } OUString GetClassPath() const; +#if HAVE_FEATURE_JAVA void SetClassPath( const OUString& _rPath ); +#endif }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |