summaryrefslogtreecommitdiff
path: root/sd/source/ui/dlg/NavigatorChildWindow.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/dlg/NavigatorChildWindow.cxx')
-rw-r--r--sd/source/ui/dlg/NavigatorChildWindow.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/sd/source/ui/dlg/NavigatorChildWindow.cxx b/sd/source/ui/dlg/NavigatorChildWindow.cxx
index 8a30766ed79b..4f55f39f13ca 100644
--- a/sd/source/ui/dlg/NavigatorChildWindow.cxx
+++ b/sd/source/ui/dlg/NavigatorChildWindow.cxx
@@ -20,10 +20,10 @@
#include "NavigatorChildWindow.hxx"
#include "navigatr.hxx"
#include "app.hrc"
-#include "navigatr.hrc"
#include <sfx2/app.hxx>
#include <sfx2/bindings.hxx>
#include <sfx2/dispatch.hxx>
+#include <sfx2/navigat.hxx>
#include <svl/eitem.hxx>
namespace sd {
@@ -56,6 +56,9 @@ NavigatorChildWindow::NavigatorChildWindow (
pNavWin->SetUpdateRequestFunctor(
[pBindings] () { return RequestNavigatorUpdate(pBindings); });
+ if (SfxNavigator* pNav = dynamic_cast<SfxNavigator*>(pParent))
+ pNav->SetMinOutputSizePixel(pNavWin->GetOptimalSize());
+
SetWindow( pNavWin );
}