diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-05-18 09:25:30 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-05-18 09:25:33 +0100 |
commit | cda860a8c99abfee6b37dda37351f0b45a7c9616 (patch) | |
tree | 16a819f7250c55ba2e84e8654b11f29ac9676b24 /cui/source/options/optpath.cxx | |
parent | 3d54ea1fffb5fa6b1606867cb3b7cfc93c5ef157 (diff) |
can drop CUI_RESSTR now
Change-Id: I2e2319e661614dc8ba464479324b4719bcfa120e
Diffstat (limited to 'cui/source/options/optpath.cxx')
-rw-r--r-- | cui/source/options/optpath.cxx | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/cui/source/options/optpath.cxx b/cui/source/options/optpath.cxx index 34ac217eb4f9..af910b355f37 100644 --- a/cui/source/options/optpath.cxx +++ b/cui/source/options/optpath.cxx @@ -344,37 +344,9 @@ void SvxPathTabPage::Reset( const SfxItemSet* ) aTabs[3] = aTabs[2] + nWidth2 + 12; pPathBox->SetTabs(aTabs, MapUnit::MapPixel); -#if 0 - String aUserData = GetUserData(); - if ( aUserData.Len() ) - { - fprintf(stderr, "FOO\n"); - - // restore column width - rBar.SetItemSize( ITEMID_TYPE, aUserData.GetToken(0).ToInt32() ); - HeaderEndDrag_Impl( &rBar ); - // restore sort direction - sal_Bool bUp = (sal_Bool)(sal_uInt16)aUserData.GetToken(1).ToInt32(); - HeaderBarItemBits nBits = rBar.GetItemBits(ITEMID_TYPE); - - if ( bUp ) - { - nBits &= ~HeaderBarItemBits::UPARROW; - nBits |= HeaderBarItemBits::DOWNARROW; - } - else - { - nBits &= ~HeaderBarItemBits::DOWNARROW; - nBits |= HeaderBarItemBits::UPARROW; - } - rBar.SetItemBits( ITEMID_TYPE, nBits ); - HeaderSelect_Impl( &rBar ); - } -#endif PathSelect_Impl( nullptr ); } - void SvxPathTabPage::FillUserData() { HeaderBar &rBar = pPathBox->GetTheHeaderBar(); @@ -386,7 +358,6 @@ void SvxPathTabPage::FillUserData() SetUserData( aUserData ); } - IMPL_LINK_NOARG(SvxPathTabPage, PathSelect_Impl, SvTreeListBox*, void) { sal_uInt16 nSelCount = 0; @@ -407,7 +378,6 @@ IMPL_LINK_NOARG(SvxPathTabPage, PathSelect_Impl, SvTreeListBox*, void) m_pStandardBtn->Enable( nSelCount > 0 && bEnable); } - IMPL_LINK_NOARG(SvxPathTabPage, StandardHdl_Impl, Button*, void) { SvTreeListEntry* pEntry = pPathBox->FirstSelected(); |