summaryrefslogtreecommitdiffstats
path: root/sd/source/ui/sidebar/NavigatorWrapper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/sidebar/NavigatorWrapper.cxx')
-rw-r--r--sd/source/ui/sidebar/NavigatorWrapper.cxx9
1 files changed, 2 insertions, 7 deletions
diff --git a/sd/source/ui/sidebar/NavigatorWrapper.cxx b/sd/source/ui/sidebar/NavigatorWrapper.cxx
index 1414f238f3a4..95d4a66ae14b 100644
--- a/sd/source/ui/sidebar/NavigatorWrapper.cxx
+++ b/sd/source/ui/sidebar/NavigatorWrapper.cxx
@@ -19,24 +19,19 @@
#include "NavigatorWrapper.hxx"
#include <ViewShellBase.hxx>
-
-#include <sfx2/sidebar/Theme.hxx>
#include <navigatr.hxx>
-
namespace sd::sidebar {
NavigatorWrapper::NavigatorWrapper (
- vcl::Window* pParent,
+ weld::Widget* pParent,
sd::ViewShellBase& rViewShellBase,
SfxBindings* pBindings)
- : SdNavigatorWin(pParent, pBindings)
+ : SdNavigatorWin(pParent, pBindings, nullptr)
, mrViewShellBase(rViewShellBase)
{
SetUpdateRequestFunctor(
[this] () { return this->UpdateNavigator(); });
- SetBackground(sfx2::sidebar::Theme::GetColor(sfx2::sidebar::Theme::Color_PanelBackground));
- Show();
}
css::ui::LayoutSize NavigatorWrapper::GetHeightForWidth (const sal_Int32)