summaryrefslogtreecommitdiff
path: root/sfx2
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 /sfx2
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 'sfx2')
-rw-r--r--sfx2/inc/pch/precompiled_sfx.hxx2
-rw-r--r--sfx2/source/notebookbar/ContextVBox.cxx4
2 files changed, 4 insertions, 2 deletions
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.