summaryrefslogtreecommitdiff
path: root/include
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 /include
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>
Diffstat (limited to 'include')
-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
3 files changed, 5 insertions, 5 deletions
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;