include/svtools/popupmenucontrollerbase.hxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit ed9bd5c8bc1da7d06d39bf40c84d572e6354ecf7 Author: Patrick Luby <[email protected]> AuthorDate: Tue Nov 5 05:31:00 2024 -0500 Commit: Caolán McNamara <[email protected]> CommitDate: Tue Nov 5 13:16:26 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/+/176045 Reviewed-by: Patrick Luby <[email protected]> Reviewed-by: Caolán McNamara <[email protected]> Tested-by: Jenkins diff --git a/include/svtools/popupmenucontrollerbase.hxx b/include/svtools/popupmenucontrollerbase.hxx index 96ee5fb6f020..b3b7bee4a1f3 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 {
