diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-01-08 10:56:32 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-01-08 18:20:25 +0000 |
commit | b7dc6101dafcfe01023608b7e1be31c1c17a82bf (patch) | |
tree | ed868ddc002428e4d1fd578188a709b48e21d160 /sfx2 | |
parent | 0b14725c7b188b78eddafae7ea6761865dfc81ab (diff) |
Float is never a SfxDockingWindow anymore
Change-Id: I22ddb6416c48ab72bf3ee4a7e7d664bfd0dd51f1
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/dialog/templdlg.cxx | 9 | ||||
-rw-r--r-- | sfx2/source/inc/templdgi.hxx | 1 |
2 files changed, 0 insertions, 10 deletions
diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx index bbfed85b0a1a..75807592fe03 100644 --- a/sfx2/source/dialog/templdlg.cxx +++ b/sfx2/source/dialog/templdlg.cxx @@ -2366,15 +2366,6 @@ void SfxTemplateDialog_Impl::LoadedFamilies() // The size of the Listboxen is adjusted void SfxTemplateDialog_Impl::Resize() { - SfxDockingWindow* pDockingWindow = dynamic_cast<SfxDockingWindow*>(m_pFloat.get()); - FloatingWindow *pF = pDockingWindow!=nullptr ? pDockingWindow->GetFloatingWindow() : nullptr; - if (pF) - { - m_bZoomIn = pF->IsRollUp(); - if (m_bZoomIn) - return; - } - if (m_pFloat == nullptr) return; Size aDlgSize=m_pFloat->PixelToLogic(m_pFloat->GetOutputSizePixel()); diff --git a/sfx2/source/inc/templdgi.hxx b/sfx2/source/inc/templdgi.hxx index 98fe5822e095..e153356cae36 100644 --- a/sfx2/source/inc/templdgi.hxx +++ b/sfx2/source/inc/templdgi.hxx @@ -47,7 +47,6 @@ class SvTreeListBox ; class StyleTreeListBox_Impl; class SfxTemplateDialog_Impl; class SfxCommonTemplateDialog_Impl; -class SfxDockingWindow; namespace com { namespace sun { namespace star { namespace frame { class XModuleManager2; |