summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sd/source/ui/dlg/NavigatorChildWindow.cxx4
-rw-r--r--sd/source/ui/dlg/navigatr.cxx3
-rw-r--r--sd/source/ui/inc/navigatr.hxx5
-rw-r--r--sd/source/ui/sidebar/NavigatorWrapper.cxx4
4 files changed, 4 insertions, 12 deletions
diff --git a/sd/source/ui/dlg/NavigatorChildWindow.cxx b/sd/source/ui/dlg/NavigatorChildWindow.cxx
index 2be517542021..8a30766ed79b 100644
--- a/sd/source/ui/dlg/NavigatorChildWindow.cxx
+++ b/sd/source/ui/dlg/NavigatorChildWindow.cxx
@@ -51,9 +51,7 @@ NavigatorChildWindow::NavigatorChildWindow (
: SfxChildWindowContext( nId )
{
VclPtr<SdNavigatorWin> pNavWin = VclPtr<SdNavigatorWin>::Create(
- pParent,
- SdResId( FLT_NAVIGATOR ),
- pBindings);
+ pParent, pBindings);
pNavWin->SetUpdateRequestFunctor(
[pBindings] () { return RequestNavigatorUpdate(pBindings); });
diff --git a/sd/source/ui/dlg/navigatr.cxx b/sd/source/ui/dlg/navigatr.cxx
index 7aaf951746b6..225e5c78f15d 100644
--- a/sd/source/ui/dlg/navigatr.cxx
+++ b/sd/source/ui/dlg/navigatr.cxx
@@ -65,9 +65,8 @@ static const sal_uInt16 nShowAllShapesFilter=2;
*/
SdNavigatorWin::SdNavigatorWin(
vcl::Window* pParent,
- const SdResId& rSdResId,
SfxBindings* pInBindings)
- : vcl::Window( pParent, rSdResId )
+ : vcl::Window( pParent, SdResId(FLT_NAVIGATOR) )
, maToolbox ( VclPtr<ToolBox>::Create( this, SdResId( 1 ) ) )
, maTlbObjects( VclPtr<SdPageObjsTLB>::Create( this, SdResId( TLB_OBJECTS ) ) )
, maLbDocs ( VclPtr<ListBox>::Create( this, SdResId( LB_DOCS ) ) )
diff --git a/sd/source/ui/inc/navigatr.hxx b/sd/source/ui/inc/navigatr.hxx
index c3df8361462c..830c3cd844a5 100644
--- a/sd/source/ui/inc/navigatr.hxx
+++ b/sd/source/ui/inc/navigatr.hxx
@@ -88,10 +88,7 @@ public:
update is necessary. When <FALSE/> the navigator will
rely on others to trigger updates.
*/
- SdNavigatorWin(
- vcl::Window* pParent,
- const SdResId& rSdResId,
- SfxBindings* pBindings);
+ SdNavigatorWin(vcl::Window* pParent, SfxBindings* pBindings);
void SetUpdateRequestFunctor(const UpdateRequestFunctor& rUpdateRequest);
virtual ~SdNavigatorWin() override;
virtual void dispose() override;
diff --git a/sd/source/ui/sidebar/NavigatorWrapper.cxx b/sd/source/ui/sidebar/NavigatorWrapper.cxx
index eb6fe20a098c..deedf7a417f1 100644
--- a/sd/source/ui/sidebar/NavigatorWrapper.cxx
+++ b/sd/source/ui/sidebar/NavigatorWrapper.cxx
@@ -33,9 +33,7 @@ NavigatorWrapper::NavigatorWrapper (
: Control(pParent, 0),
mrViewShellBase(rViewShellBase),
maNavigator(VclPtr<SdNavigatorWin>::Create(
- this,
- SdResId(FLT_NAVIGATOR),
- pBindings))
+ this, pBindings))
{
maNavigator->SetUpdateRequestFunctor(
[this] () { return this->UpdateNavigator(); });