summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-02-21 20:00:21 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-02-22 07:51:28 +0100
commit5098f825931604004caf37069a3fb38359c837a4 (patch)
tree951707070e41c7df3ab2e35b0215caedcd5ff520
parent331b4603be47fe059095307b2b3e2c1d399b04f9 (diff)
Move include/sfx2/notebookbar/NotebookbarContextControl.hxx to include/vcl/
...as it is included from other include/vcl/*.hxx files. (And moving it there helps the heuristic in an upcoming improvement of loplugin:dyncastvisibility.) Change-Id: I15e061fbaba8e82235afb5b312f7b38f26eec900 Reviewed-on: https://gerrit.libreoffice.org/50123 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r--accessibility/inc/pch/precompiled_acc.hxx2
-rw-r--r--basctl/inc/pch/precompiled_basctl.hxx2
-rw-r--r--chart2/inc/pch/precompiled_chartcontroller.hxx2
-rw-r--r--cui/inc/pch/precompiled_cui.hxx2
-rw-r--r--desktop/inc/pch/precompiled_sofficeapp.hxx2
-rw-r--r--framework/inc/pch/precompiled_fwl.hxx2
-rw-r--r--include/vcl/NotebookbarContextControl.hxx (renamed from include/sfx2/notebookbar/NotebookbarContextControl.hxx)6
-rw-r--r--include/vcl/notebookbar.hxx2
-rw-r--r--include/vcl/tabctrl.hxx2
-rw-r--r--reportdesign/inc/pch/precompiled_rptui.hxx2
-rw-r--r--sc/inc/pch/precompiled_sc.hxx2
-rw-r--r--sd/inc/pch/precompiled_sd.hxx2
-rw-r--r--sd/inc/pch/precompiled_sdui.hxx2
-rw-r--r--sfx2/inc/pch/precompiled_sfx.hxx2
-rw-r--r--sfx2/source/notebookbar/ContextVBox.cxx4
-rw-r--r--slideshow/inc/pch/precompiled_slideshow.hxx2
-rw-r--r--solenv/clang-format/blacklist2
-rw-r--r--svtools/inc/pch/precompiled_svt.hxx2
-rw-r--r--svx/inc/pch/precompiled_svxcore.hxx2
-rw-r--r--sw/inc/pch/precompiled_swui.hxx2
-rw-r--r--sw/inc/pch/precompiled_vbaswobj.hxx2
-rw-r--r--xmlsecurity/inc/pch/precompiled_xmlsecurity.hxx2
22 files changed, 26 insertions, 24 deletions
diff --git a/accessibility/inc/pch/precompiled_acc.hxx b/accessibility/inc/pch/precompiled_acc.hxx
index fde5a69bd67b..ed8944275b47 100644
--- a/accessibility/inc/pch/precompiled_acc.hxx
+++ b/accessibility/inc/pch/precompiled_acc.hxx
@@ -100,6 +100,7 @@
#include <salhelper/salhelperdllapi.h>
#include <salhelper/simplereferenceobject.hxx>
#include <vcl/EnumContext.hxx>
+#include <vcl/NotebookbarContextControl.hxx>
#include <vcl/accel.hxx>
#include <vcl/alpha.hxx>
#include <vcl/animate.hxx>
@@ -323,7 +324,6 @@
#include <o3tl/cow_wrapper.hxx>
#include <o3tl/strong_int.hxx>
#include <o3tl/typed_flags_set.hxx>
-#include <sfx2/notebookbar/NotebookbarContextControl.hxx>
#include <sot/exchange.hxx>
#include <sot/formats.hxx>
#include <sot/sotdllapi.h>
diff --git a/basctl/inc/pch/precompiled_basctl.hxx b/basctl/inc/pch/precompiled_basctl.hxx
index 97cc996fb631..0a7accdf5912 100644
--- a/basctl/inc/pch/precompiled_basctl.hxx
+++ b/basctl/inc/pch/precompiled_basctl.hxx
@@ -111,6 +111,7 @@
#include <salhelper/simplereferenceobject.hxx>
#include <salhelper/singletonref.hxx>
#include <vcl/EnumContext.hxx>
+#include <vcl/NotebookbarContextControl.hxx>
#include <vcl/accel.hxx>
#include <vcl/alpha.hxx>
#include <vcl/animate.hxx>
@@ -408,7 +409,6 @@
#include <sfx2/groupid.hxx>
#include <sfx2/minfitem.hxx>
#include <sfx2/module.hxx>
-#include <sfx2/notebookbar/NotebookbarContextControl.hxx>
#include <sfx2/objsh.hxx>
#include <sfx2/printer.hxx>
#include <sfx2/request.hxx>
diff --git a/chart2/inc/pch/precompiled_chartcontroller.hxx b/chart2/inc/pch/precompiled_chartcontroller.hxx
index 28f6d317a0ec..afce85d48159 100644
--- a/chart2/inc/pch/precompiled_chartcontroller.hxx
+++ b/chart2/inc/pch/precompiled_chartcontroller.hxx
@@ -105,6 +105,7 @@
#include <salhelper/simplereferenceobject.hxx>
#include <vcl/EnumContext.hxx>
#include <vcl/IContext.hxx>
+#include <vcl/NotebookbarContextControl.hxx>
#include <vcl/alpha.hxx>
#include <vcl/animate.hxx>
#include <vcl/bitmap.hxx>
@@ -404,7 +405,6 @@
#include <o3tl/typed_flags_set.hxx>
#include <sfx2/XmlIdRegistry.hxx>
#include <sfx2/dllapi.h>
-#include <sfx2/notebookbar/NotebookbarContextControl.hxx>
#include <sfx2/sfxuno.hxx>
#include <sfx2/shell.hxx>
#include <sfx2/signaturestate.hxx>
diff --git a/cui/inc/pch/precompiled_cui.hxx b/cui/inc/pch/precompiled_cui.hxx
index eac04f9e911f..c6ac8c055c58 100644
--- a/cui/inc/pch/precompiled_cui.hxx
+++ b/cui/inc/pch/precompiled_cui.hxx
@@ -111,6 +111,7 @@
#include <salhelper/simplereferenceobject.hxx>
#include <salhelper/singletonref.hxx>
#include <vcl/EnumContext.hxx>
+#include <vcl/NotebookbarContextControl.hxx>
#include <vcl/alpha.hxx>
#include <vcl/animate.hxx>
#include <vcl/bitmap.hxx>
@@ -339,7 +340,6 @@
#include <sfx2/filedlghelper.hxx>
#include <sfx2/htmlmode.hxx>
#include <sfx2/module.hxx>
-#include <sfx2/notebookbar/NotebookbarContextControl.hxx>
#include <sfx2/objsh.hxx>
#include <sfx2/opengrf.hxx>
#include <sfx2/request.hxx>
diff --git a/desktop/inc/pch/precompiled_sofficeapp.hxx b/desktop/inc/pch/precompiled_sofficeapp.hxx
index a95c286d9505..e6713d6badfb 100644
--- a/desktop/inc/pch/precompiled_sofficeapp.hxx
+++ b/desktop/inc/pch/precompiled_sofficeapp.hxx
@@ -108,6 +108,7 @@
#include <sal/typesizes.h>
#include <salhelper/singletonref.hxx>
#include <vcl/EnumContext.hxx>
+#include <vcl/NotebookbarContextControl.hxx>
#include <vcl/accel.hxx>
#include <vcl/alpha.hxx>
#include <vcl/animate.hxx>
@@ -242,7 +243,6 @@
#include <o3tl/strong_int.hxx>
#include <o3tl/typed_flags_set.hxx>
#include <sfx2/dllapi.h>
-#include <sfx2/notebookbar/NotebookbarContextControl.hxx>
#include <svl/hint.hxx>
#include <svl/lstner.hxx>
#include <svl/poolitem.hxx>
diff --git a/framework/inc/pch/precompiled_fwl.hxx b/framework/inc/pch/precompiled_fwl.hxx
index 31da9c1207c4..b77f7bf005df 100644
--- a/framework/inc/pch/precompiled_fwl.hxx
+++ b/framework/inc/pch/precompiled_fwl.hxx
@@ -107,6 +107,7 @@
#include <sal/typesizes.h>
#include <salhelper/singletonref.hxx>
#include <vcl/EnumContext.hxx>
+#include <vcl/NotebookbarContextControl.hxx>
#include <vcl/alpha.hxx>
#include <vcl/animate.hxx>
#include <vcl/bitmap.hxx>
@@ -319,7 +320,6 @@
#include <o3tl/cow_wrapper.hxx>
#include <o3tl/strong_int.hxx>
#include <o3tl/typed_flags_set.hxx>
-#include <sfx2/notebookbar/NotebookbarContextControl.hxx>
#include <svl/svldllapi.h>
#include <svtools/popupmenucontrollerbase.hxx>
#include <svtools/svtdllapi.h>
diff --git a/include/sfx2/notebookbar/NotebookbarContextControl.hxx b/include/vcl/NotebookbarContextControl.hxx
index 172b25756d8f..b338d8dd3e57 100644
--- a/include/sfx2/notebookbar/NotebookbarContextControl.hxx
+++ b/include/vcl/NotebookbarContextControl.hxx
@@ -7,8 +7,8 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SFX2_NOTEBOOKBAR_NOTEBOOKBARCONTEXTCONTROL_HXX
-#define INCLUDED_SFX2_NOTEBOOKBAR_NOTEBOOKBARCONTEXTCONTROL_HXX
+#ifndef INCLUDED_VCL_NOTEBOOKBARCONTEXTCONTROL_HXX
+#define INCLUDED_VCL_NOTEBOOKBARCONTEXTCONTROL_HXX
#include <vcl/EnumContext.hxx>
@@ -21,6 +21,6 @@ public:
virtual void SetContext( vcl::EnumContext::Context eContext ) = 0;
};
-#endif // INCLUDED_SFX2_NOTEBOOKBAR_NOTEBOOKBARCONTEXTCONTROL_HXX
+#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/vcl/notebookbar.hxx b/include/vcl/notebookbar.hxx
index bc3885cabd59..337b3f76ccf0 100644
--- a/include/vcl/notebookbar.hxx
+++ b/include/vcl/notebookbar.hxx
@@ -13,7 +13,7 @@
#include <vcl/builder.hxx>
#include <vcl/ctrl.hxx>
#include <vcl/EnumContext.hxx>
-#include <sfx2/notebookbar/NotebookbarContextControl.hxx>
+#include <vcl/NotebookbarContextControl.hxx>
#include <com/sun/star/ui/XContextChangeEventListener.hpp>
#include <vector>
diff --git a/include/vcl/tabctrl.hxx b/include/vcl/tabctrl.hxx
index 660c89642c83..747b30160fac 100644
--- a/include/vcl/tabctrl.hxx
+++ b/include/vcl/tabctrl.hxx
@@ -25,7 +25,7 @@
#include <vcl/toolbox.hxx>
#include <vcl/button.hxx>
#include <vcl/EnumContext.hxx>
-#include <sfx2/notebookbar/NotebookbarContextControl.hxx>
+#include <vcl/NotebookbarContextControl.hxx>
struct ImplTabItem;
struct ImplTabCtrlData;
diff --git a/reportdesign/inc/pch/precompiled_rptui.hxx b/reportdesign/inc/pch/precompiled_rptui.hxx
index 650dc223a76d..3ae03c15dbb3 100644
--- a/reportdesign/inc/pch/precompiled_rptui.hxx
+++ b/reportdesign/inc/pch/precompiled_rptui.hxx
@@ -114,6 +114,7 @@
#include <salhelper/singletonref.hxx>
#include <vcl/EnumContext.hxx>
#include <vcl/IContext.hxx>
+#include <vcl/NotebookbarContextControl.hxx>
#include <vcl/abstdlg.hxx>
#include <vcl/alpha.hxx>
#include <vcl/animate.hxx>
@@ -405,7 +406,6 @@
#include <sfx2/dllapi.h>
#include <sfx2/linksrc.hxx>
#include <sfx2/lnkbase.hxx>
-#include <sfx2/notebookbar/NotebookbarContextControl.hxx>
#include <sfx2/sfxstatuslistener.hxx>
#include <sot/exchange.hxx>
#include <sot/formats.hxx>
diff --git a/sc/inc/pch/precompiled_sc.hxx b/sc/inc/pch/precompiled_sc.hxx
index f48ef3005c05..c9295f13954f 100644
--- a/sc/inc/pch/precompiled_sc.hxx
+++ b/sc/inc/pch/precompiled_sc.hxx
@@ -116,6 +116,7 @@
#include <salhelper/thread.hxx>
#include <vcl/EnumContext.hxx>
#include <vcl/IContext.hxx>
+#include <vcl/NotebookbarContextControl.hxx>
#include <vcl/alpha.hxx>
#include <vcl/animate.hxx>
#include <vcl/bitmap.hxx>
@@ -453,7 +454,6 @@
#include <sfx2/docfile.hxx>
#include <sfx2/linkmgr.hxx>
#include <sfx2/lokhelper.hxx>
-#include <sfx2/notebookbar/NotebookbarContextControl.hxx>
#include <sfx2/objface.hxx>
#include <sfx2/objsh.hxx>
#include <sfx2/printer.hxx>
diff --git a/sd/inc/pch/precompiled_sd.hxx b/sd/inc/pch/precompiled_sd.hxx
index 449c954630fd..72c6df6d18d3 100644
--- a/sd/inc/pch/precompiled_sd.hxx
+++ b/sd/inc/pch/precompiled_sd.hxx
@@ -88,6 +88,7 @@
#include <sal/typesizes.h>
#include <vcl/EnumContext.hxx>
#include <vcl/IContext.hxx>
+#include <vcl/NotebookbarContextControl.hxx>
#include <vcl/bitmap.hxx>
#include <vcl/bitmapaccess.hxx>
#include <vcl/bitmapex.hxx>
@@ -376,7 +377,6 @@
#include <sfx2/linkmgr.hxx>
#include <sfx2/msg.hxx>
#include <sfx2/msgpool.hxx>
-#include <sfx2/notebookbar/NotebookbarContextControl.hxx>
#include <sfx2/notebookbar/SfxNotebookBar.hxx>
#include <sfx2/objface.hxx>
#include <sfx2/objsh.hxx>
diff --git a/sd/inc/pch/precompiled_sdui.hxx b/sd/inc/pch/precompiled_sdui.hxx
index 043cf3150b80..3ade8ea3b434 100644
--- a/sd/inc/pch/precompiled_sdui.hxx
+++ b/sd/inc/pch/precompiled_sdui.hxx
@@ -112,6 +112,7 @@
#include <salhelper/simplereferenceobject.hxx>
#include <vcl/EnumContext.hxx>
#include <vcl/IContext.hxx>
+#include <vcl/NotebookbarContextControl.hxx>
#include <vcl/accel.hxx>
#include <vcl/alpha.hxx>
#include <vcl/animate.hxx>
@@ -408,7 +409,6 @@
#include <sfx2/ctrlitem.hxx>
#include <sfx2/dllapi.h>
#include <sfx2/linksrc.hxx>
-#include <sfx2/notebookbar/NotebookbarContextControl.hxx>
#include <sfx2/objsh.hxx>
#include <sfx2/sfxstatuslistener.hxx>
#include <sfx2/sfxuno.hxx>
diff --git a/sfx2/inc/pch/precompiled_sfx.hxx b/sfx2/inc/pch/precompiled_sfx.hxx
index 947f3f20e6cd..fcc40e260176 100644
--- a/sfx2/inc/pch/precompiled_sfx.hxx
+++ b/sfx2/inc/pch/precompiled_sfx.hxx
@@ -85,6 +85,7 @@
#include <sal/saldllapi.h>
#include <sal/types.h>
#include <vcl/EnumContext.hxx>
+#include <vcl/NotebookbarContextControl.hxx>
#include <vcl/alpha.hxx>
#include <vcl/bitmap.hxx>
#include <vcl/bitmapex.hxx>
@@ -480,7 +481,6 @@
#include <sfx2/msg.hxx>
#include <sfx2/msgpool.hxx>
#include <sfx2/new.hxx>
-#include <sfx2/notebookbar/NotebookbarContextControl.hxx>
#include <sfx2/notebookbar/SfxNotebookBar.hxx>
#include <sfx2/objface.hxx>
#include <sfx2/objitem.hxx>
diff --git a/sfx2/source/notebookbar/ContextVBox.cxx b/sfx2/source/notebookbar/ContextVBox.cxx
index 62494c2e9203..acd43c8af406 100644
--- a/sfx2/source/notebookbar/ContextVBox.cxx
+++ b/sfx2/source/notebookbar/ContextVBox.cxx
@@ -17,11 +17,13 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <sal/config.h>
+
+#include <vcl/NotebookbarContextControl.hxx>
#include <vcl/builderfactory.hxx>
#include <vcl/layout.hxx>
#include <sfx2/dllapi.h>
#include <sfx2/viewfrm.hxx>
-#include <sfx2/notebookbar/NotebookbarContextControl.hxx>
/*
* ContextVBox is a VclVBox which shows own children depending on current context.
diff --git a/slideshow/inc/pch/precompiled_slideshow.hxx b/slideshow/inc/pch/precompiled_slideshow.hxx
index a906763d239d..aa4a587c1cb9 100644
--- a/slideshow/inc/pch/precompiled_slideshow.hxx
+++ b/slideshow/inc/pch/precompiled_slideshow.hxx
@@ -98,6 +98,7 @@
#include <sal/types.h>
#include <sal/typesizes.h>
#include <vcl/EnumContext.hxx>
+#include <vcl/NotebookbarContextControl.hxx>
#include <vcl/accel.hxx>
#include <vcl/alpha.hxx>
#include <vcl/animate.hxx>
@@ -247,7 +248,6 @@
#include <o3tl/cow_wrapper.hxx>
#include <o3tl/strong_int.hxx>
#include <o3tl/typed_flags_set.hxx>
-#include <sfx2/notebookbar/NotebookbarContextControl.hxx>
#include <tools/color.hxx>
#include <tools/colordata.hxx>
#include <tools/debug.hxx>
diff --git a/solenv/clang-format/blacklist b/solenv/clang-format/blacklist
index 2acef63815d6..198294203d73 100644
--- a/solenv/clang-format/blacklist
+++ b/solenv/clang-format/blacklist
@@ -6876,7 +6876,6 @@ include/sfx2/msgpool.hxx
include/sfx2/navigat.hxx
include/sfx2/new.hxx
include/sfx2/newstyle.hxx
-include/sfx2/notebookbar/NotebookbarContextControl.hxx
include/sfx2/notebookbar/NotebookbarTabControl.hxx
include/sfx2/notebookbar/SfxNotebookBar.hxx
include/sfx2/objface.hxx
@@ -7973,6 +7972,7 @@ include/vcl/IconThemeInfo.hxx
include/vcl/IconThemeScanner.hxx
include/vcl/IconThemeSelector.hxx
include/vcl/ImageTree.hxx
+include/vcl/NotebookbarContextControl.hxx
include/vcl/abstdlg.hxx
include/vcl/accel.hxx
include/vcl/alpha.hxx
diff --git a/svtools/inc/pch/precompiled_svt.hxx b/svtools/inc/pch/precompiled_svt.hxx
index 142bf93dd753..bf6068638065 100644
--- a/svtools/inc/pch/precompiled_svt.hxx
+++ b/svtools/inc/pch/precompiled_svt.hxx
@@ -98,6 +98,7 @@
#include <salhelper/timer.hxx>
#include <vcl/EnumContext.hxx>
#include <vcl/IContext.hxx>
+#include <vcl/NotebookbarContextControl.hxx>
#include <vcl/alpha.hxx>
#include <vcl/bitmap.hxx>
#include <vcl/bitmapex.hxx>
@@ -350,7 +351,6 @@
#include <o3tl/make_unique.hxx>
#include <o3tl/strong_int.hxx>
#include <o3tl/typed_flags_set.hxx>
-#include <sfx2/notebookbar/NotebookbarContextControl.hxx>
#include <sot/exchange.hxx>
#include <sot/sotdllapi.h>
#include <svl/SfxBroadcaster.hxx>
diff --git a/svx/inc/pch/precompiled_svxcore.hxx b/svx/inc/pch/precompiled_svxcore.hxx
index b305843b2902..df9ad09c4e62 100644
--- a/svx/inc/pch/precompiled_svxcore.hxx
+++ b/svx/inc/pch/precompiled_svxcore.hxx
@@ -104,6 +104,7 @@
#include <salhelper/singletonref.hxx>
#include <salhelper/thread.hxx>
#include <vcl/EnumContext.hxx>
+#include <vcl/NotebookbarContextControl.hxx>
#include <vcl/alpha.hxx>
#include <vcl/animate.hxx>
#include <vcl/bitmap.hxx>
@@ -401,7 +402,6 @@
#include <sfx2/dispatch.hxx>
#include <sfx2/dllapi.h>
#include <sfx2/docfile.hxx>
-#include <sfx2/notebookbar/NotebookbarContextControl.hxx>
#include <sfx2/objsh.hxx>
#include <sfx2/sfxuno.hxx>
#include <sfx2/shell.hxx>
diff --git a/sw/inc/pch/precompiled_swui.hxx b/sw/inc/pch/precompiled_swui.hxx
index 4698f43d2afe..aef3030fd050 100644
--- a/sw/inc/pch/precompiled_swui.hxx
+++ b/sw/inc/pch/precompiled_swui.hxx
@@ -117,6 +117,7 @@
#include <salhelper/simplereferenceobject.hxx>
#include <vcl/EnumContext.hxx>
#include <vcl/IContext.hxx>
+#include <vcl/NotebookbarContextControl.hxx>
#include <vcl/accel.hxx>
#include <vcl/alpha.hxx>
#include <vcl/animate.hxx>
@@ -549,7 +550,6 @@
#include <sfx2/htmlmode.hxx>
#include <sfx2/linksrc.hxx>
#include <sfx2/lnkbase.hxx>
-#include <sfx2/notebookbar/NotebookbarContextControl.hxx>
#include <sfx2/objsh.hxx>
#include <sfx2/printer.hxx>
#include <sfx2/request.hxx>
diff --git a/sw/inc/pch/precompiled_vbaswobj.hxx b/sw/inc/pch/precompiled_vbaswobj.hxx
index 6dca15aa3487..59bda3e0b690 100644
--- a/sw/inc/pch/precompiled_vbaswobj.hxx
+++ b/sw/inc/pch/precompiled_vbaswobj.hxx
@@ -118,6 +118,7 @@
#include <sal/types.h>
#include <sal/typesizes.h>
#include <vcl/EnumContext.hxx>
+#include <vcl/NotebookbarContextControl.hxx>
#include <vcl/accel.hxx>
#include <vcl/alpha.hxx>
#include <vcl/animate.hxx>
@@ -394,7 +395,6 @@
#include <ooo/vba/XHelperInterface.hpp>
#include <pam.hxx>
#include <sfx2/dllapi.h>
-#include <sfx2/notebookbar/NotebookbarContextControl.hxx>
#include <sfx2/sfxuno.hxx>
#include <sfx2/shell.hxx>
#include <sot/formats.hxx>
diff --git a/xmlsecurity/inc/pch/precompiled_xmlsecurity.hxx b/xmlsecurity/inc/pch/precompiled_xmlsecurity.hxx
index c9c58ab1d0a4..0c01d24701c7 100644
--- a/xmlsecurity/inc/pch/precompiled_xmlsecurity.hxx
+++ b/xmlsecurity/inc/pch/precompiled_xmlsecurity.hxx
@@ -106,6 +106,7 @@
#include <sal/types.h>
#include <sal/typesizes.h>
#include <vcl/EnumContext.hxx>
+#include <vcl/NotebookbarContextControl.hxx>
#include <vcl/accel.hxx>
#include <vcl/alpha.hxx>
#include <vcl/animate.hxx>
@@ -298,7 +299,6 @@
#include <o3tl/typed_flags_set.hxx>
#include <resourcemanager.hxx>
#include <sax/saxdllapi.h>
-#include <sfx2/notebookbar/NotebookbarContextControl.hxx>
#include <sot/exchange.hxx>
#include <sot/formats.hxx>
#include <sot/sotdllapi.h>