summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-09-09 09:38:20 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-09-09 08:46:09 +0000
commit284cdce6edc357f71543ff7392e8213e5da5150f (patch)
tree224324994ee2d233ad3a6bf7c0fe52ac277ef1ac /cui
parentb226dcb50d6728b62f39c9fa2e016724324944e3 (diff)
callcatcher: update unused code
Change-Id: I76825425ff084d3fb1e331fb7ff13b097744c208 Reviewed-on: https://gerrit.libreoffice.org/5882 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/inc/numfmt.hxx1
-rw-r--r--cui/source/options/optaboutconfig.cxx27
-rw-r--r--cui/source/options/optaboutconfig.hxx3
-rw-r--r--cui/source/options/optbasic.cxx14
-rw-r--r--cui/source/options/optbasic.hxx1
-rw-r--r--cui/source/tabpages/numfmt.cxx7
6 files changed, 0 insertions, 53 deletions
diff --git a/cui/source/inc/numfmt.hxx b/cui/source/inc/numfmt.hxx
index cdbc1f3cd5a5..12761d031cf5 100644
--- a/cui/source/inc/numfmt.hxx
+++ b/cui/source/inc/numfmt.hxx
@@ -135,7 +135,6 @@ private:
void FillFormatListBox_Impl( std::vector<OUString>& rEntries );
void UpdateOptions_Impl( sal_Bool bCheckCatChange );
void UpdateFormatListBox_Impl( sal_uInt16 bCat, sal_Bool bUpdateEdit );
- void DeleteEntryList_Impl( std::vector<OUString>& rEntries );
void Obstructing();
void EnableBySourceFormat_Impl();
void SetCategory( sal_uInt16 nPos );
diff --git a/cui/source/options/optaboutconfig.cxx b/cui/source/options/optaboutconfig.cxx
index abedfede2dfa..e6809e7e5c8f 100644
--- a/cui/source/options/optaboutconfig.cxx
+++ b/cui/source/options/optaboutconfig.cxx
@@ -345,33 +345,6 @@ CuiAboutConfigValueDialog::~CuiAboutConfigValueDialog()
{
}
-IMPL_LINK( CuiAboutConfigTabPage, HeaderSelect_Impl, HeaderBar*, pBar )
-{
- if ( pBar && pBar->GetCurItemId() != ITEMID_TYPE )
- return 0;
-
- HeaderBarItemBits nBits = pBar->GetItemBits(ITEMID_TYPE);
- sal_Bool bUp = ( ( nBits & HIB_UPARROW ) == HIB_UPARROW );
- SvSortMode eMode = SortAscending;
-
- if ( bUp )
- {
- nBits &= ~HIB_UPARROW;
- nBits |= HIB_DOWNARROW;
- eMode = SortDescending;
- }
- else
- {
- nBits &= ~HIB_DOWNARROW;
- nBits |= HIB_UPARROW;
- }
- pBar->SetItemBits( ITEMID_TYPE, nBits );
- SvTreeList* pModel = pPrefBox->GetModel();
- pModel->SetSortMode( eMode );
- pModel->Resort();
- return 1;
-}
-
IMPL_LINK_NOARG( CuiAboutConfigTabPage, StandardHdl_Impl )
{
SvTreeListEntry* pEntry = pPrefBox->FirstSelected();
diff --git a/cui/source/options/optaboutconfig.hxx b/cui/source/options/optaboutconfig.hxx
index f2d633513ec9..d0b9e28b806d 100644
--- a/cui/source/options/optaboutconfig.hxx
+++ b/cui/source/options/optaboutconfig.hxx
@@ -33,16 +33,13 @@ private:
PushButton* m_pDefaultBtn;
PushButton* m_pEditBtn;
- //std::vector< com::sun::star::beans::NamedValue > VectorOfModified;
std::vector< Prop_Impl* > VectorOfModified;
::svx::OptHeaderTabListBox* pPrefBox;
CuiAboutConfigTabPage( Window* pParent, const SfxItemSet& rItemSet );
~CuiAboutConfigTabPage();
- //void AddToModifiedVector( com::sun::star::beans::NamedValue& rProp );
void AddToModifiedVector( Prop_Impl* rProp );
- DECL_LINK( HeaderSelect_Impl, HeaderBar * );
DECL_LINK( StandardHdl_Impl, void * );
public:
static SfxTabPage* Create( Window* pParent, const SfxItemSet& rItemset );
diff --git a/cui/source/options/optbasic.cxx b/cui/source/options/optbasic.cxx
index 88ccc6d81e11..a3b428b611ff 100644
--- a/cui/source/options/optbasic.cxx
+++ b/cui/source/options/optbasic.cxx
@@ -67,18 +67,6 @@ void SvxBasicIDEOptionsPage::LoadConfig()
pUseExtendedTypesChk->Check( bExtended );
}
-void SvxBasicIDEOptionsPage::SaveConfig()
-{
- boost::shared_ptr< comphelper::ConfigurationChanges > batch( comphelper::ConfigurationChanges::create() );
- officecfg::Office::BasicIDE::Autocomplete::AutocloseProc::set( pAutocloseProcChk->IsChecked(), batch );
- officecfg::Office::BasicIDE::Autocomplete::CodeComplete::set( pCodeCompleteChk->IsChecked(), batch );
- officecfg::Office::BasicIDE::Autocomplete::UseExtended::set( pUseExtendedTypesChk->IsChecked(), batch );
- officecfg::Office::BasicIDE::Autocomplete::AutocloseParenthesis::set( pAutocloseParenChk->IsChecked(), batch );
- officecfg::Office::BasicIDE::Autocomplete::AutocloseDoubleQuotes::set( pAutocloseQuotesChk->IsChecked(), batch );
- officecfg::Office::BasicIDE::Autocomplete::AutoCorrect::set( pAutoCorrectChk->IsChecked(), batch );
- batch->commit();
-}
-
sal_Bool SvxBasicIDEOptionsPage::FillItemSet( SfxItemSet& /*rCoreSet*/ )
{
sal_Bool bModified = sal_False;
@@ -88,7 +76,6 @@ sal_Bool SvxBasicIDEOptionsPage::FillItemSet( SfxItemSet& /*rCoreSet*/ )
{
officecfg::Office::BasicIDE::Autocomplete::AutocloseProc::set( pAutocloseProcChk->IsChecked(), batch );
CodeCompleteOptions::SetProcedureAutoCompleteOn( pAutocloseProcChk->IsChecked() );
- //batch->commit();
bModified = sal_True;
}
@@ -97,7 +84,6 @@ sal_Bool SvxBasicIDEOptionsPage::FillItemSet( SfxItemSet& /*rCoreSet*/ )
//boost::shared_ptr< comphelper::ConfigurationChanges > batch( comphelper::ConfigurationChanges::create() );
officecfg::Office::BasicIDE::Autocomplete::CodeComplete::set( pCodeCompleteChk->IsChecked(), batch );
CodeCompleteOptions::SetCodeCompleteOn( pCodeCompleteChk->IsChecked() );
- //batch->commit();
bModified = sal_True;
}
diff --git a/cui/source/options/optbasic.hxx b/cui/source/options/optbasic.hxx
index fe1b52e04d28..a3e0d3d395af 100644
--- a/cui/source/options/optbasic.hxx
+++ b/cui/source/options/optbasic.hxx
@@ -35,7 +35,6 @@ private:
CheckBox* pUseExtendedTypesChk;
void LoadConfig();
- void SaveConfig();
public:
SvxBasicIDEOptionsPage( Window* pParent, const SfxItemSet& rSet );
diff --git a/cui/source/tabpages/numfmt.cxx b/cui/source/tabpages/numfmt.cxx
index 31dcfc70cbd5..320db9fcb985 100644
--- a/cui/source/tabpages/numfmt.cxx
+++ b/cui/source/tabpages/numfmt.cxx
@@ -865,13 +865,6 @@ void SvxNumberFormatTabPage::FillFormatListBox_Impl( std::vector<OUString>& rEnt
rEntries.clear();
}
-
-void SvxNumberFormatTabPage::DeleteEntryList_Impl( std::vector<OUString>& rEntries )
-{
- rEntries.clear();
-}
-
-
/*************************************************************************
#* Method: UpdateOptions_Impl
#*------------------------------------------------------------------------