diff options
Diffstat (limited to 'sfx2/source/dialog/dockwin.cxx')
-rw-r--r-- | sfx2/source/dialog/dockwin.cxx | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/sfx2/source/dialog/dockwin.cxx b/sfx2/source/dialog/dockwin.cxx index 9e3821e498ad..25c72d8a6276 100644 --- a/sfx2/source/dialog/dockwin.cxx +++ b/sfx2/source/dialog/dockwin.cxx @@ -826,24 +826,6 @@ SfxDockingWindow::SfxDockingWindow( SfxBindings *pBindinx, SfxChildWindow *pCW, pBindings(pBindinx), pMgr(pCW) { - if ( !GetHelpId().isEmpty() ) - { - SetUniqueId( GetHelpId() ); - SetHelpId(""); - } - else - { - SfxViewFrame* pViewFrame = pBindings->GetDispatcher()->GetFrame(); - SfxSlotPool* pSlotPool = pViewFrame->GetObjectShell()->GetModule()->GetSlotPool(); - const SfxSlot* pSlot = pCW ? pSlotPool->GetSlot( pCW->GetType() ) : nullptr; - if ( pSlot ) - { - OString aCmd("SFXDOCKINGWINDOW_"); - aCmd += pSlot->GetUnoName(); - SetUniqueId( aCmd ); - } - } - pImpl.reset( new SfxDockingWindow_Impl ); pImpl->bConstructed = false; pImpl->pSplitWin = nullptr; @@ -871,24 +853,6 @@ SfxDockingWindow::SfxDockingWindow( SfxBindings *pBindinx, SfxChildWindow *pCW, , pBindings(pBindinx) , pMgr(pCW) { - if ( !GetHelpId().isEmpty() ) - { - SetUniqueId( GetHelpId() ); - SetHelpId(""); - } - else - { - SfxViewFrame* pViewFrame = pBindings->GetDispatcher()->GetFrame(); - SfxSlotPool* pSlotPool = pViewFrame->GetObjectShell()->GetModule()->GetSlotPool(); - const SfxSlot* pSlot = pCW ? pSlotPool->GetSlot( pCW->GetType() ) : nullptr; - if ( pSlot ) - { - OString aCmd("SFXDOCKINGWINDOW_"); - aCmd += pSlot->GetUnoName(); - SetUniqueId( aCmd ); - } - } - pImpl.reset( new SfxDockingWindow_Impl ); pImpl->bConstructed = false; pImpl->pSplitWin = nullptr; |