summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
};