summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-02-13 21:39:27 +0000
committerCaolán McNamara <caolanm@redhat.com>2020-02-14 10:00:09 +0100
commit1b0397a519bf6923c2dae7919d73c0662d2da2af (patch)
tree998bb9612695c7a021273003a76adc9e4b8e3c05 /include
parent1e57442fc9f275828943d316ac4b64f1d29b3f9b (diff)
use forward decls to reduce including unnecessary headers
Change-Id: Iaa25ac1ac99e0dcf09bce21f4bad8cb9b5568a1e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88633 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/infobar.hxx7
-rw-r--r--include/svtools/editbrowsebox.hxx3
-rw-r--r--include/svx/gridctrl.hxx6
3 files changed, 11 insertions, 5 deletions
diff --git a/include/sfx2/infobar.hxx b/include/sfx2/infobar.hxx
index f725a27044f2..0c866f70de5f 100644
--- a/include/sfx2/infobar.hxx
+++ b/include/sfx2/infobar.hxx
@@ -12,12 +12,15 @@
#include <vector>
#include <basegfx/color/bcolor.hxx>
-#include <vcl/button.hxx>
-#include <vcl/fixed.hxx>
#include <sfx2/childwin.hxx>
#include <sfx2/dllapi.h>
+class FixedImage;
+class FixedText;
+class Button;
+class PushButton;
+
// These must match the values in offapi/com/sun/star/frame/InfobarType.idl
enum class InfobarType
{
diff --git a/include/svtools/editbrowsebox.hxx b/include/svtools/editbrowsebox.hxx
index 213af400f35a..2ac388323e04 100644
--- a/include/svtools/editbrowsebox.hxx
+++ b/include/svtools/editbrowsebox.hxx
@@ -29,12 +29,13 @@
#include <vcl/lstbox.hxx>
#include <vcl/spinfld.hxx>
-#include <vcl/button.hxx>
#include <svtools/brwbox.hxx>
#include <svtools/brwhead.hxx>
#include <svtools/svmedit.hxx>
#include <o3tl/typed_flags_set.hxx>
+class Button;
+class CheckBox;
// EditBrowseBoxFlags (EBBF)
diff --git a/include/svx/gridctrl.hxx b/include/svx/gridctrl.hxx
index 33174e56aaef..28df7caf8ca8 100644
--- a/include/svx/gridctrl.hxx
+++ b/include/svx/gridctrl.hxx
@@ -20,10 +20,8 @@
#define INCLUDED_SVX_GRIDCTRL_HXX
#include <com/sun/star/util/Date.hpp>
-#include <vcl/fixed.hxx>
#include <vcl/field.hxx>
-#include <vcl/button.hxx>
#include <tools/ref.hxx>
#include <svtools/editbrowsebox.hxx>
#include <osl/mutex.hxx>
@@ -40,6 +38,10 @@ namespace com::sun::star::sdb { class XRowsChangeListener; }
namespace com::sun::star::uno { class XComponentContext; }
namespace com::sun::star::util { class XNumberFormatter; }
+class Button;
+class ImageButton;
+class FixedText;
+
class CursorWrapper;
bool CompareBookmark(const css::uno::Any& aLeft, const css::uno::Any& aRight);