diff options
Diffstat (limited to 'sc/source/ui/optdlg/tpusrlst.cxx')
-rw-r--r-- | sc/source/ui/optdlg/tpusrlst.cxx | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/sc/source/ui/optdlg/tpusrlst.cxx b/sc/source/ui/optdlg/tpusrlst.cxx index 5eab46a9811b..da438c025a91 100644 --- a/sc/source/ui/optdlg/tpusrlst.cxx +++ b/sc/source/ui/optdlg/tpusrlst.cxx @@ -89,16 +89,12 @@ ScTpUserLists::ScTpUserLists( Window* pParent, Reset(rCoreAttrs); } - - ScTpUserLists::~ScTpUserLists() { delete pUserLists; delete pRangeUtil; } - - void ScTpUserLists::Init() { SfxViewShell* pSh = SfxViewShell::Current(); @@ -146,15 +142,11 @@ void ScTpUserLists::Init() } - - SfxTabPage* ScTpUserLists::Create( Window* pParent, const SfxItemSet& rAttrSet ) { return ( new ScTpUserLists( pParent, rAttrSet ) ); } - - void ScTpUserLists::Reset( const SfxItemSet& rCoreAttrs ) { const ScUserListItem& rUserListItem = (const ScUserListItem&) @@ -205,8 +197,6 @@ void ScTpUserLists::Reset( const SfxItemSet& rCoreAttrs ) } } - - bool ScTpUserLists::FillItemSet( SfxItemSet& rCoreAttrs ) { // Modifikationen noch nicht uebernommen? @@ -246,8 +236,6 @@ bool ScTpUserLists::FillItemSet( SfxItemSet& rCoreAttrs ) return bDataModified; } - - int ScTpUserLists::DeactivatePage( SfxItemSet* pSetP ) { if ( pSetP ) @@ -256,16 +244,12 @@ int ScTpUserLists::DeactivatePage( SfxItemSet* pSetP ) return LEAVE_PAGE; } - - size_t ScTpUserLists::UpdateUserListBox() { mpLbLists->Clear(); if ( !pUserLists ) return 0; - - size_t nCount = pUserLists->size(); OUString aEntry; @@ -279,14 +263,10 @@ size_t ScTpUserLists::UpdateUserListBox() return nCount; } - - void ScTpUserLists::UpdateEntries( size_t nList ) { if ( !pUserLists ) return; - - if ( nList < pUserLists->size() ) { const ScUserListData* pList = (*pUserLists)[nList]; @@ -308,8 +288,6 @@ void ScTpUserLists::UpdateEntries( size_t nList ) } } - - void ScTpUserLists::MakeListStr( OUString& rListStr ) { OUString aStr; @@ -346,8 +324,6 @@ void ScTpUserLists::MakeListStr( OUString& rListStr ) } - - void ScTpUserLists::AddNewList( const OUString& rEntriesStr ) { OUString theEntriesStr( rEntriesStr ); @@ -360,15 +336,11 @@ void ScTpUserLists::AddNewList( const OUString& rEntriesStr ) pUserLists->push_back(new ScUserListData(theEntriesStr)); } - - void ScTpUserLists::CopyListFromArea( const ScRefAddress& rStartPos, const ScRefAddress& rEndPos ) { if ( bCopyDone ) return; - - SCTAB nTab = rStartPos.Tab(); SCCOL nStartCol = rStartPos.Col(); SCROW nStartRow = rStartPos.Row(); @@ -446,21 +418,15 @@ void ScTpUserLists::CopyListFromArea( const ScRefAddress& rStartPos, } } - - bCopyDone = true; } - - void ScTpUserLists::ModifyList( size_t nSelList, const OUString& rEntriesStr ) { if ( !pUserLists ) return; - - OUString theEntriesStr( rEntriesStr ); MakeListStr( theEntriesStr ); @@ -468,8 +434,6 @@ void ScTpUserLists::ModifyList( size_t nSelList, (*pUserLists)[nSelList]->SetString( theEntriesStr ); } - - void ScTpUserLists::RemoveList( size_t nList ) { if (pUserLists && nList < pUserLists->size()) @@ -507,8 +471,6 @@ IMPL_LINK( ScTpUserLists, LbSelectHdl, ListBox*, pLb ) return 0; } - - IMPL_LINK( ScTpUserLists, BtnClickHdl, PushButton*, pBtn ) { if ( pBtn == mpBtnNew || pBtn == mpBtnDiscard ) @@ -692,8 +654,6 @@ IMPL_LINK( ScTpUserLists, BtnClickHdl, PushButton*, pBtn ) if ( bCopyDone ) return 0; - - ScRefAddress theStartPos; ScRefAddress theEndPos; OUString theAreaStr( mpEdCopyFrom->GetText() ); @@ -744,15 +704,11 @@ IMPL_LINK( ScTpUserLists, BtnClickHdl, PushButton*, pBtn ) return 0; } - - IMPL_LINK( ScTpUserLists, EdEntriesModHdl, VclMultiLineEdit*, pEd ) { if ( pEd != mpEdEntries ) return 0; - - if ( mpBtnCopy->IsEnabled() ) { mpBtnCopy->Disable(); @@ -797,6 +753,4 @@ IMPL_LINK( ScTpUserLists, EdEntriesModHdl, VclMultiLineEdit*, pEd ) return 0; } - - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |