summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2021-11-07 16:12:31 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-11-07 19:20:17 +0100
commita0e0575dcf4fede5c6e20636c63042d8c62ecf77 (patch)
treeaf00fa7be111a91cc2ff61d8f6d9fb0d945a3231 /sc
parentefd2510e225232ac35707a3ed55b83be9fa046af (diff)
forward decls go after #include
Change-Id: I54c33508639044092356eed5144720261b4f65db Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124816 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/inc/chartsh.hxx3
-rw-r--r--sc/source/ui/inc/drformsh.hxx3
-rw-r--r--sc/source/ui/inc/graphsh.hxx2
-rw-r--r--sc/source/ui/inc/mediash.hxx3
-rw-r--r--sc/source/ui/inc/oleobjsh.hxx3
5 files changed, 5 insertions, 9 deletions
diff --git a/sc/source/ui/inc/chartsh.hxx b/sc/source/ui/inc/chartsh.hxx
index bae02c725248..9eee30a1a941 100644
--- a/sc/source/ui/inc/chartsh.hxx
+++ b/sc/source/ui/inc/chartsh.hxx
@@ -21,11 +21,10 @@
#include <sfx2/shell.hxx>
#include <shellids.hxx>
+#include "drawsh.hxx"
class ScViewData;
-#include "drawsh.hxx"
-
class ScChartShell final : public ScDrawShell
{
public:
diff --git a/sc/source/ui/inc/drformsh.hxx b/sc/source/ui/inc/drformsh.hxx
index 8f2a22cb3dd9..97da8dee1397 100644
--- a/sc/source/ui/inc/drformsh.hxx
+++ b/sc/source/ui/inc/drformsh.hxx
@@ -21,12 +21,11 @@
#include <sfx2/shell.hxx>
#include <shellids.hxx>
+#include "drawsh.hxx"
class ScViewData;
class SfxModule;
-#include "drawsh.hxx"
-
class ScDrawFormShell final : public ScDrawShell
{
public:
diff --git a/sc/source/ui/inc/graphsh.hxx b/sc/source/ui/inc/graphsh.hxx
index 0c2b301c8ea5..cae5ac69bc06 100644
--- a/sc/source/ui/inc/graphsh.hxx
+++ b/sc/source/ui/inc/graphsh.hxx
@@ -23,12 +23,12 @@
#include <vector>
#include <sfx2/shell.hxx>
#include <shellids.hxx>
+#include "drawsh.hxx"
class SdrExternalToolEdit;
class ScViewData;
class SfxModule;
-#include "drawsh.hxx"
class ScGraphicShell final : public ScDrawShell
{
diff --git a/sc/source/ui/inc/mediash.hxx b/sc/source/ui/inc/mediash.hxx
index cc7b6db7dd33..471902b28fc5 100644
--- a/sc/source/ui/inc/mediash.hxx
+++ b/sc/source/ui/inc/mediash.hxx
@@ -20,12 +20,11 @@
#pragma once
#include <shellids.hxx>
+#include "drawsh.hxx"
class ScViewData;
class SfxModule;
-#include "drawsh.hxx"
-
class ScMediaShell final : public ScDrawShell
{
public:
diff --git a/sc/source/ui/inc/oleobjsh.hxx b/sc/source/ui/inc/oleobjsh.hxx
index 2fbb656f62e2..88be75adc22c 100644
--- a/sc/source/ui/inc/oleobjsh.hxx
+++ b/sc/source/ui/inc/oleobjsh.hxx
@@ -21,12 +21,11 @@
#include <sfx2/shell.hxx>
#include <shellids.hxx>
+#include "drawsh.hxx"
class ScViewData;
class SfxModule;
-#include "drawsh.hxx"
-
class ScOleObjectShell final : public ScDrawShell
{
public: