diff options
author | Michael Meeks <michael.meeks@suse.com> | 2012-06-08 14:42:44 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-06-08 14:43:46 +0100 |
commit | 01e6c68e0a182ff5cb783f896ed832b58b7a1d76 (patch) | |
tree | d50258776f67a2f7f4b128a4cab68276f3bb52b8 /sfx2 | |
parent | 1227034d594cbe141738bdf9922319643ad869ff (diff) |
targetted revert of fdo#30917 - wrt. storing hierarchical view data
Change-Id: Ifffcad11e7691a8371be4e11143776f83c3608f5
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/dialog/templdlg.cxx | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx index 3a2a8ecd846d..26f4cdb87f42 100644 --- a/sfx2/source/dialog/templdlg.cxx +++ b/sfx2/source/dialog/templdlg.cxx @@ -1772,10 +1772,6 @@ IMPL_LINK( SfxCommonTemplateDialog_Impl, FilterSelectHdl, ListBox *, pBox ) ((StyleTreeListBox_Impl*)pTreeBox)-> SetDropHdl(LINK(this, SfxCommonTemplateDialog_Impl, DropHdl)); pTreeBox->SetIndent(10); - SfxViewFrame *pViewFrame = pBindings->GetDispatcher_Impl()->GetFrame(); - SfxObjectShell *pDocShell = pViewFrame->GetObjectShell(); - if (pDocShell) - SaveFactoryStyleFilter( pDocShell, HIERARCHICAL_FILTER_INDEX ); FillTreeBox(); SelectStyle(aSelectEntry); pTreeBox->SetAccessibleName(SfxResId(STR_STYLE_ELEMTLIST)); @@ -2263,9 +2259,6 @@ SfxTemplateDialog_Impl::SfxTemplateDialog_Impl( { pDlgWindow->FreeResource(); - SfxViewFrame* pViewFrame = pBindings->GetDispatcher_Impl()->GetFrame(); - pCurObjShell = pViewFrame->GetObjectShell(); - sal_uInt16 nSavedFilter = static_cast< sal_uInt16 >( LoadFactoryStyleFilter( pCurObjShell ) ); Initialize(); m_aActionTbL.SetSelectHdl(LINK(this, SfxTemplateDialog_Impl, ToolBoxLSelect)); @@ -2277,12 +2270,6 @@ SfxTemplateDialog_Impl::SfxTemplateDialog_Impl( aFont.SetWeight( WEIGHT_NORMAL ); aFilterLb.SetFont( aFont ); m_aActionTbL.SetHelpId( HID_TEMPLDLG_TOOLBOX_LEFT ); - if( nSavedFilter == HIERARCHICAL_FILTER_INDEX ) - { - bHierarchical = sal_False; // Force content refresh - aFilterLb.SelectEntry(String(SfxResId(STR_STYLE_FILTER_HIERARCHICAL))); - FilterSelectHdl(&aFilterLb); - } } // ------------------------------------------------------------------------ |