include/sfx2/titledockwin.hxx | 3 ++- sfx2/source/dialog/titledockwin.cxx | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-)
New commits: commit 7679820af5739d3b6d5de0c4cb771d081407f406 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Mon Jan 24 15:29:00 2022 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Mon Jan 24 18:14:16 2022 +0100 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 <caol...@redhat.com> 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 {