summaryrefslogtreecommitdiff
path: root/include/vcl/layout.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-02-13 17:36:53 +0000
committerCaolán McNamara <caolanm@redhat.com>2020-02-14 09:59:36 +0100
commit832a120473ff352cd4e3f2c0486c8718806cb2aa (patch)
tree30c37e5b0115dbc8b2fc632bf5c0a7b467ea2d2c /include/vcl/layout.hxx
parent29e9fe918d10001ddd2c7ce68064397ada98f4f6 (diff)
don't need to include split.hxx or scrbar.hxx
Change-Id: I775e77a0f303d66ca571e1851205b8286c840bc9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88631 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/vcl/layout.hxx')
-rw-r--r--include/vcl/layout.hxx14
1 files changed, 10 insertions, 4 deletions
diff --git a/include/vcl/layout.hxx b/include/vcl/layout.hxx
index c7631e1308cb..8a70f69fe7f6 100644
--- a/include/vcl/layout.hxx
+++ b/include/vcl/layout.hxx
@@ -11,9 +11,8 @@
#define INCLUDED_VCL_LAYOUT_HXX
#include <vcl/dllapi.h>
+#include <vcl/ctrl.hxx>
#include <vcl/help.hxx>
-#include <vcl/scrbar.hxx>
-#include <vcl/split.hxx>
#include <vcl/svapp.hxx>
#include <vcl/window.hxx>
#include <vcl/settings.hxx>
@@ -24,6 +23,11 @@
#include <vcl/commandevent.hxx>
#include <set>
+class ScrollBar;
+class ScrollBar;
+class ScrollBarBox;
+class Splitter;
+
class VCL_DLLPUBLIC VclContainer : public vcl::Window,
public vcl::IContext
{
@@ -378,7 +382,7 @@ protected:
VclPaned(vcl::Window *pParent, bool bVertical);
public:
- virtual ~VclPaned() override { disposeOnce(); }
+ virtual ~VclPaned() override;
virtual void dispose() override;
long get_position() const { return m_nPosition; }
void set_position(long nPosition) { m_nPosition = nPosition; }
@@ -392,6 +396,7 @@ private:
public:
VclVPaned(vcl::Window *pParent);
+ virtual ~VclVPaned() override;
virtual Size calculateRequisition() const override;
virtual void setAllocation(const Size &rAllocation) override;
};
@@ -404,6 +409,7 @@ private:
public:
VclHPaned(vcl::Window *pParent);
+ virtual ~VclHPaned() override;
virtual Size calculateRequisition() const override;
virtual void setAllocation(const Size &rAllocation) override;
};
@@ -488,7 +494,7 @@ class VCL_DLLPUBLIC VclScrolledWindow final : public VclBin
{
public:
VclScrolledWindow(vcl::Window *pParent );
- virtual ~VclScrolledWindow() override { disposeOnce(); }
+ virtual ~VclScrolledWindow() override;
virtual void dispose() override;
virtual vcl::Window *get_child() override;
virtual const vcl::Window *get_child() const override;