summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-01-24 15:29:00 +0000
committerCaolán McNamara <caolanm@redhat.com>2022-01-24 18:14:16 +0100
commit7679820af5739d3b6d5de0c4cb771d081407f406 (patch)
tree8bc60369133efd60f0fe0df6dbf2b197039b2e28
parent4fbec819fc041cddcd64621acdd29bd35f4dd493 (diff)
can use a forward decl here
Change-Id: I9abce9c3b02d998ed422405af0eb3a06cfa4057a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128871 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--include/sfx2/titledockwin.hxx3
-rw-r--r--sfx2/source/dialog/titledockwin.cxx4
2 files changed, 4 insertions, 3 deletions
diff --git a/include/sfx2/titledockwin.hxx b/include/sfx2/titledockwin.hxx
index fe87e81cf9c4..0ba02278b694 100644
--- a/include/sfx2/titledockwin.hxx
+++ b/include/sfx2/titledockwin.hxx
@@ -23,10 +23,11 @@
#include <sfx2/dllapi.h>
#include <sfx2/dockwin.hxx>
-#include <vcl/toolbox.hxx>
#include <vcl/vclptr.hxx>
#include <tools/svborder.hxx>
+class ToolBox;
+
namespace sfx2
{
class SFX2_DLLPUBLIC TitledDockingWindow : public SfxDockingWindow
diff --git a/sfx2/source/dialog/titledockwin.cxx b/sfx2/source/dialog/titledockwin.cxx
index 69f530c49592..f9209b8e26a3 100644
--- a/sfx2/source/dialog/titledockwin.cxx
+++ b/sfx2/source/dialog/titledockwin.cxx
@@ -26,9 +26,9 @@
#include <sfx2/sfxresid.hxx>
#include <svl/eitem.hxx>
-#include <vcl/settings.hxx>
#include <vcl/event.hxx>
-
+#include <vcl/settings.hxx>
+#include <vcl/toolbox.hxx>
namespace sfx2
{