diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-02-13 17:36:53 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-02-14 09:59:36 +0100 |
commit | 832a120473ff352cd4e3f2c0486c8718806cb2aa (patch) | |
tree | 30c37e5b0115dbc8b2fc632bf5c0a7b467ea2d2c | |
parent | 29e9fe918d10001ddd2c7ce68064397ada98f4f6 (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>
-rw-r--r-- | basctl/inc/pch/precompiled_basctl.hxx | 4 | ||||
-rw-r--r-- | basctl/source/dlged/dlged.cxx | 1 | ||||
-rw-r--r-- | include/vcl/layout.hxx | 14 | ||||
-rw-r--r-- | reportdesign/inc/pch/precompiled_rptui.hxx | 3 | ||||
-rw-r--r-- | sfx2/inc/pch/precompiled_sfx.hxx | 4 | ||||
-rw-r--r-- | svx/inc/pch/precompiled_svx.hxx | 5 | ||||
-rw-r--r-- | svx/inc/pch/precompiled_svxcore.hxx | 3 | ||||
-rw-r--r-- | vcl/source/window/builder.cxx | 1 | ||||
-rw-r--r-- | vcl/source/window/layout.cxx | 20 | ||||
-rw-r--r-- | vcl/source/window/toolbox2.cxx | 2 |
10 files changed, 43 insertions, 14 deletions
diff --git a/basctl/inc/pch/precompiled_basctl.hxx b/basctl/inc/pch/precompiled_basctl.hxx index 4e043ce70aa5..0eb4b291f5b4 100644 --- a/basctl/inc/pch/precompiled_basctl.hxx +++ b/basctl/inc/pch/precompiled_basctl.hxx @@ -13,7 +13,7 @@ manual changes will be rewritten by the next run of update_pch.sh (which presumably also fixes all possible problems, so it's usually better to use it). - Generated on 2020-02-12 16:02:54 using: + Generated on 2020-02-13 17:41:51 using: ./bin/update_pch basctl basctl --cutoff=3 --exclude:system --include:module --exclude:local If after updating build fails, use the following command to locate conflicting headers: @@ -151,9 +151,7 @@ #include <vcl/salgtype.hxx> #include <vcl/salnativewidgets.hxx> #include <vcl/scopedbitmapaccess.hxx> -#include <vcl/scrbar.hxx> #include <vcl/settings.hxx> -#include <vcl/split.hxx> #include <vcl/status.hxx> #include <vcl/svapp.hxx> #include <vcl/syswin.hxx> diff --git a/basctl/source/dlged/dlged.cxx b/basctl/source/dlged/dlged.cxx index 7310ed31bee6..771823a2895d 100644 --- a/basctl/source/dlged/dlged.cxx +++ b/basctl/source/dlged/dlged.cxx @@ -43,6 +43,7 @@ #include <svx/svdpagv.hxx> #include <toolkit/helper/vclunohelper.hxx> #include <vcl/print.hxx> +#include <vcl/scrbar.hxx> #include <vcl/svapp.hxx> #include <xmlscript/xml_helper.hxx> #include <xmlscript/xmldlg_imexp.hxx> 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; diff --git a/reportdesign/inc/pch/precompiled_rptui.hxx b/reportdesign/inc/pch/precompiled_rptui.hxx index 4c865cefd4e8..6060869edb98 100644 --- a/reportdesign/inc/pch/precompiled_rptui.hxx +++ b/reportdesign/inc/pch/precompiled_rptui.hxx @@ -13,7 +13,7 @@ manual changes will be rewritten by the next run of update_pch.sh (which presumably also fixes all possible problems, so it's usually better to use it). - Generated on 2020-02-05 20:46:59 using: + Generated on 2020-02-13 17:42:29 using: ./bin/update_pch reportdesign rptui --cutoff=4 --exclude:system --include:module --include:local If after updating build fails, use the following command to locate conflicting headers: @@ -144,7 +144,6 @@ #include <vcl/region.hxx> #include <vcl/salnativewidgets.hxx> #include <vcl/scopedbitmapaccess.hxx> -#include <vcl/scrbar.hxx> #include <vcl/settings.hxx> #include <vcl/status.hxx> #include <vcl/svapp.hxx> diff --git a/sfx2/inc/pch/precompiled_sfx.hxx b/sfx2/inc/pch/precompiled_sfx.hxx index 2dfbc7c548f0..efa6a446c846 100644 --- a/sfx2/inc/pch/precompiled_sfx.hxx +++ b/sfx2/inc/pch/precompiled_sfx.hxx @@ -13,7 +13,7 @@ manual changes will be rewritten by the next run of update_pch.sh (which presumably also fixes all possible problems, so it's usually better to use it). - Generated on 2020-02-06 17:39:06 using: + Generated on 2020-02-13 17:43:02 using: ./bin/update_pch sfx2 sfx --cutoff=3 --exclude:system --exclude:module --exclude:local If after updating build fails, use the following command to locate conflicting headers: @@ -51,7 +51,6 @@ #include <osl/diagnose.h> #include <osl/endian.h> #include <osl/file.hxx> -#include <osl/interlck.h> #include <osl/module.hxx> #include <osl/mutex.hxx> #include <osl/process.h> @@ -393,6 +392,7 @@ #include <openflag.hxx> #include <openuriexternally.hxx> #include <openurlhint.hxx> +#include <sfx2/InterimItemWindow.hxx> #include <sfx2/app.hxx> #include <sfx2/basedlgs.hxx> #include <sfx2/bindings.hxx> diff --git a/svx/inc/pch/precompiled_svx.hxx b/svx/inc/pch/precompiled_svx.hxx index 01e7c0c20563..2fbeb6430aac 100644 --- a/svx/inc/pch/precompiled_svx.hxx +++ b/svx/inc/pch/precompiled_svx.hxx @@ -13,7 +13,7 @@ manual changes will be rewritten by the next run of update_pch.sh (which presumably also fixes all possible problems, so it's usually better to use it). - Generated on 2020-02-13 15:12:26 using: + Generated on 2020-02-13 17:41:02 using: ./bin/update_pch svx svx --cutoff=3 --exclude:system --exclude:module --include:local If after updating build fails, use the following command to locate conflicting headers: @@ -72,6 +72,7 @@ #include <vcl/BitmapFilter.hxx> #include <vcl/EnumContext.hxx> #include <vcl/GraphicObject.hxx> +#include <vcl/IContext.hxx> #include <vcl/Scanline.hxx> #include <vcl/alpha.hxx> #include <vcl/bitmapex.hxx> @@ -89,10 +90,12 @@ #include <vcl/font.hxx> #include <vcl/gdimtf.hxx> #include <vcl/graph.hxx> +#include <vcl/help.hxx> #include <vcl/idle.hxx> #include <vcl/image.hxx> #include <vcl/imap.hxx> #include <vcl/imapobj.hxx> +#include <vcl/layout.hxx> #include <vcl/menu.hxx> #include <vcl/metric.hxx> #include <vcl/outdev.hxx> diff --git a/svx/inc/pch/precompiled_svxcore.hxx b/svx/inc/pch/precompiled_svxcore.hxx index 8efd27097cac..5262f52a3f04 100644 --- a/svx/inc/pch/precompiled_svxcore.hxx +++ b/svx/inc/pch/precompiled_svxcore.hxx @@ -13,7 +13,7 @@ manual changes will be rewritten by the next run of update_pch.sh (which presumably also fixes all possible problems, so it's usually better to use it). - Generated on 2020-02-13 17:01:33 using: + Generated on 2020-02-13 17:41:00 using: ./bin/update_pch svx svxcore --cutoff=7 --exclude:system --include:module --exclude:local If after updating build fails, use the following command to locate conflicting headers: @@ -141,7 +141,6 @@ #include <vcl/quickselectionengine.hxx> #include <vcl/region.hxx> #include <vcl/scopedbitmapaccess.hxx> -#include <vcl/scrbar.hxx> #include <vcl/settings.hxx> #include <vcl/spinfld.hxx> #include <vcl/svapp.hxx> diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx index 87cbd5eef9c0..3cf4cccef262 100644 --- a/vcl/source/window/builder.cxx +++ b/vcl/source/window/builder.cxx @@ -38,6 +38,7 @@ #include <vcl/mnemonic.hxx> #include <vcl/toolkit/prgsbar.hxx> #include <vcl/scrbar.hxx> +#include <vcl/split.hxx> #include <vcl/svapp.hxx> #include <vcl/svtabbx.hxx> #include <vcl/tabctrl.hxx> diff --git a/vcl/source/window/layout.cxx b/vcl/source/window/layout.cxx index cddd8f5519fd..75a6171f5b50 100644 --- a/vcl/source/window/layout.cxx +++ b/vcl/source/window/layout.cxx @@ -14,7 +14,9 @@ #include <vcl/decoview.hxx> #include <vcl/toolkit/dialog.hxx> #include <vcl/layout.hxx> +#include <vcl/scrbar.hxx> #include <vcl/stdtext.hxx> +#include <vcl/split.hxx> #include <vcl/svapp.hxx> #include <vcl/settings.hxx> #include <messagedialog.hxx> @@ -2736,4 +2738,22 @@ void VclDrawingArea::StartDrag(sal_Int8, const Point&) xContainer->StartDrag(this, m_nDragAction); } +VclHPaned::~VclHPaned() +{ +} + +VclVPaned::~VclVPaned() +{ +} + +VclPaned::~VclPaned() +{ + disposeOnce(); +} + +VclScrolledWindow::~VclScrolledWindow() +{ + disposeOnce(); +} + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/vcl/source/window/toolbox2.cxx b/vcl/source/window/toolbox2.cxx index 68cf9a383085..1136e35442ff 100644 --- a/vcl/source/window/toolbox2.cxx +++ b/vcl/source/window/toolbox2.cxx @@ -881,10 +881,12 @@ void ToolBox::SetItemBits( sal_uInt16 nItemId, ToolBoxItemBits nBits ) void ToolBox::SetItemWindowNonInteractive(sal_uInt16 nItemId, bool bNonInteractive) { + fprintf(stderr, "attempt\n"); ImplToolItems::size_type nPos = GetItemPos( nItemId ); if ( nPos < GetItemCount() ) { + fprintf(stderr, "success\n"); mpData->m_aItems[nPos].mbNonInteractiveWindow = bNonInteractive; } } |