summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Luby <guibmacdev@gmail.com>2024-11-05 05:31:00 -0500
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-11-05 13:16:33 +0100
commitb12ccb1969b48cd43a0b771bd0736d81d15d92e7 (patch)
tree20255d702fe743fa748e9be0ab6c8d45f9639a22
parent8dce42a2923c81ad88a1c7bfa27b75917701dd24 (diff)
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 <guibomacdev@gmail.com> Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
-rw-r--r--include/svtools/popupmenucontrollerbase.hxx3
1 files changed, 1 insertions, 2 deletions
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
{