include/svtools/popupmenucontrollerbase.hxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit b12ccb1969b48cd43a0b771bd0736d81d15d92e7 Author: Patrick Luby <guibmac...@gmail.com> AuthorDate: Tue Nov 5 05:31:00 2024 -0500 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Tue Nov 5 13:16:33 2024 +0100 Replace unnecessary #include with forward declaration The fix in commit 2fe53b2e436cb236b2dc121ceec4f22de49a13a8 still works on macOS with a forward declaration of the VCLXMenu class. Change-Id: I1080466d1783464c886111e9b47d445fb16f0d3c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175999 Tested-by: Jenkins Reviewed-by: Patrick Luby <guibomac...@gmail.com> Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> diff --git a/include/svtools/popupmenucontrollerbase.hxx b/include/svtools/popupmenucontrollerbase.hxx index c27c203ac3eb..8df5041a793d 100644 --- a/include/svtools/popupmenucontrollerbase.hxx +++ b/include/svtools/popupmenucontrollerbase.hxx @@ -33,12 +33,11 @@ #include <comphelper/compbase.hxx> #include <rtl/ref.hxx> #include <rtl/ustring.hxx> -#include <toolkit/awt/vclxmenu.hxx> namespace com :: sun :: star :: frame { class XFrame; } namespace com :: sun :: star :: uno { class XComponentContext; } namespace com :: sun :: star :: util { class XURLTransformer; } -class VCLXPopupMenu; +class VCLXMenu; namespace svt {