summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-02-14 16:03:22 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-02-15 08:33:37 +0200
commit3d60346febafbf37b7b19075f66ccf3c0255ab4f (patch)
tree2aa56af47fa6cb669b105339b98e9f8e5fa65461
parent7f309cf37b97f7cc86b66c4c3ffe61b7563825d0 (diff)
remove unused OBJECTBAR from SfxChildIdentifier enum
Change-Id: I45b02055d18ca201341c61a1558ee5b0c58d7ba8
-rw-r--r--sfx2/source/appl/workwin.cxx3
-rw-r--r--sfx2/source/inc/workwin.hxx1
2 files changed, 0 insertions, 4 deletions
diff --git a/sfx2/source/appl/workwin.cxx b/sfx2/source/appl/workwin.cxx
index 317b532f0575..f961abbc5557 100644
--- a/sfx2/source/appl/workwin.cxx
+++ b/sfx2/source/appl/workwin.cxx
@@ -1524,9 +1524,6 @@ void SfxWorkWindow::ConfigChild_Impl(SfxChildIdentifier eChild,
vcl::Window *pWin=nullptr;
SfxChildWin_Impl *pCW = nullptr;
- if ( eChild == SfxChildIdentifier::OBJECTBAR )
- return;
-
// configure direct childwindow
for (SfxChildWin_Impl* i : aChildWins)
{
diff --git a/sfx2/source/inc/workwin.hxx b/sfx2/source/inc/workwin.hxx
index e1aab806f9d2..a9a4fbe46e63 100644
--- a/sfx2/source/inc/workwin.hxx
+++ b/sfx2/source/inc/workwin.hxx
@@ -133,7 +133,6 @@ struct SfxChildWin_Impl
enum class SfxChildIdentifier
{
- OBJECTBAR,
DOCKINGWINDOW,
SPLITWINDOW
};