summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sfx2/source/dialog/dockwin.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sfx2/source/dialog/dockwin.cxx b/sfx2/source/dialog/dockwin.cxx
index e4d71dd12770..99ab5232f06b 100644
--- a/sfx2/source/dialog/dockwin.cxx
+++ b/sfx2/source/dialog/dockwin.cxx
@@ -857,6 +857,7 @@ SfxDockingWindow::SfxDockingWindow( SfxBindings *pBindinx, SfxChildWindow *pCW,
pImp->nLine = pImp->nDockLine = 0;
pImp->nPos = pImp->nDockPos = 0;
pImp->bNewLine = false;
+ pImp->SetDockAlignment(SfxChildAlignment::NOALIGNMENT);
pImp->SetLastAlignment(SfxChildAlignment::NOALIGNMENT);
pImp->aMoveIdle.SetPriority(SchedulerPriority::RESIZE);
pImp->aMoveIdle.SetIdleHdl(LINK(this,SfxDockingWindow,TimerHdl));
@@ -902,6 +903,7 @@ SfxDockingWindow::SfxDockingWindow( SfxBindings *pBindinx, SfxChildWindow *pCW,
pImp->nLine = pImp->nDockLine = 0;
pImp->nPos = pImp->nDockPos = 0;
pImp->bNewLine = false;
+ pImp->SetDockAlignment(SfxChildAlignment::NOALIGNMENT);
pImp->SetLastAlignment(SfxChildAlignment::NOALIGNMENT);
pImp->aMoveIdle.SetPriority(SchedulerPriority::RESIZE);
pImp->aMoveIdle.SetIdleHdl(LINK(this,SfxDockingWindow,TimerHdl));
@@ -947,6 +949,7 @@ SfxDockingWindow::SfxDockingWindow( SfxBindings *pBindinx, SfxChildWindow *pCW,
pImp->nLine = pImp->nDockLine = 0;
pImp->nPos = pImp->nDockPos = 0;
pImp->bNewLine = false;
+ pImp->SetDockAlignment(SfxChildAlignment::NOALIGNMENT);
pImp->SetLastAlignment(SfxChildAlignment::NOALIGNMENT);
pImp->aMoveIdle.SetPriority(SchedulerPriority::RESIZE);
pImp->aMoveIdle.SetIdleHdl(LINK(this,SfxDockingWindow,TimerHdl));