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>
This commit is contained in:
Caolán McNamara
2013-09-09 09:38:20 +01:00
parent b226dcb50d
commit 284cdce6ed
19 changed files with 6 additions and 165 deletions

View File

@@ -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 );

View File

@@ -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();

View File

@@ -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 );

View File

@@ -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;
}

View File

@@ -35,7 +35,6 @@ private:
CheckBox* pUseExtendedTypesChk;
void LoadConfig();
void SaveConfig();
public:
SvxBasicIDEOptionsPage( Window* pParent, const SfxItemSet& rSet );

View File

@@ -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
#*------------------------------------------------------------------------

View File

@@ -718,7 +718,6 @@ public:
/** Returns the cell protection data of this style. */
inline const Protection& getProtection() const { return maProtection; }
void writeToMarkData( ::ScMarkData& rMarkData, sal_Int32 nNumFmtId );
void applyPatternToAttrList( ::std::list<ScAttrEntry>& rAttrs, SCROW nRow1, SCROW nRow2,
sal_Int32 nForceScNumFmt );
/** Writes all formatting attributes to the passed property map. */

View File

@@ -2331,44 +2331,6 @@ void Xf::applyPatternToAttrList( ::std::list<ScAttrEntry>& rAttrs, SCROW nRow1,
}
}
void Xf::writeToMarkData( ::ScMarkData& rMarkData, sal_Int32 nNumFmtId )
{
createPattern();
ScPatternAttr& rPat = *mpPattern;
ScDocument& rDoc = getScDocument();
if ( isCellXf() )
{
StylesBuffer& rStyles = getStyles();
rStyles.createCellStyle( maModel.mnStyleXfId );
mpStyleSheet = rStyles.getCellStyleSheet( maModel.mnStyleXfId );
if ( mpStyleSheet )
{
rDoc.ApplySelectionStyle( static_cast<ScStyleSheet&>(*mpStyleSheet), rMarkData );
}
else
{
ScStyleSheetPool* pStylePool = rDoc.GetStyleSheetPool();
if (pStylePool)
{
ScStyleSheet* pStyleSheet = static_cast<ScStyleSheet*>(
pStylePool->Find(
ScGlobal::GetRscString(STR_STYLENAME_STANDARD), SFX_STYLE_FAMILY_PARA));
if (pStyleSheet)
rDoc.ApplySelectionStyle( static_cast<ScStyleSheet&>(*pStyleSheet), rMarkData );
}
}
}
if ( nNumFmtId >= 0 )
{
ScPatternAttr aNumPat(rDoc.GetPool());
getStyles().writeNumFmtToItemSet( aNumPat.GetItemSet(), nNumFmtId );
rPat.GetItemSet().Put(aNumPat.GetItemSet());
}
rDoc.ApplySelectionPattern( rPat, rMarkData );
}
void Xf::writeToPropertyMap( PropertyMap& rPropMap ) const
{
StylesBuffer& rStyles = getStyles();

View File

@@ -146,7 +146,6 @@ class ScUndoSetCell : public ScSimpleUndo
{
public:
TYPEINFO();
ScUndoSetCell( ScDocShell* pDocSh, const ScAddress& rPos, const ScCellValue& rNewVal );
ScUndoSetCell( ScDocShell* pDocSh, const ScAddress& rPos, const ScCellValue& rOldVal, const ScCellValue& rNewVal );
virtual ~ScUndoSetCell();

View File

@@ -401,12 +401,6 @@ bool ScUndoEnterValue::CanRepeat(SfxRepeatTarget& /* rTarget */) const
return false;
}
ScUndoSetCell::ScUndoSetCell( ScDocShell* pDocSh, const ScAddress& rPos, const ScCellValue& rNewVal ) :
ScSimpleUndo(pDocSh), maPos(rPos), maNewValue(rNewVal), mnEndChangeAction(0)
{
SetChangeTrack();
}
ScUndoSetCell::ScUndoSetCell( ScDocShell* pDocSh, const ScAddress& rPos, const ScCellValue& rOldVal, const ScCellValue& rNewVal ) :
ScSimpleUndo(pDocSh), maPos(rPos), maOldValue(rOldVal), maNewValue(rNewVal), mnEndChangeAction(0)
{

View File

@@ -222,24 +222,6 @@ BackingWindow::~BackingWindow()
}
IMPL_LINK( BackingWindow, WindowEventListener, VclSimpleEvent*, pEvent )
{
VclWindowEvent* pWinEvent = dynamic_cast<VclWindowEvent*>( pEvent );
if ( pWinEvent && pWinEvent->GetId() == VCLEVENT_WINDOW_DATACHANGED )
{
DataChangedEvent* pDCEvt =
static_cast<DataChangedEvent*>( pWinEvent->GetData() );
if ( pDCEvt->GetFlags() & SETTINGS_STYLE )
{
SetBackground();
Invalidate();
// fdo#34392: Resize buttons to match the new text size.
Resize();
}
}
return 0;
}
void BackingWindow::initControls()
{
if( mbInitControls )

View File

@@ -126,7 +126,6 @@ class BackingWindow
DECL_LINK( RecentTemplateToggleHdl, Button* );
DECL_LINK( OpenTemplateHdl, ThumbnailViewItem* );
DECL_LINK( ExtLinkClickHdl, Button* );
DECL_LINK( WindowEventListener, VclSimpleEvent* );
void initControls();

View File

@@ -1202,13 +1202,6 @@ void AreaPropertyPanel::Update()
IMPL_LINK( AreaPropertyPanel, ImplPopupModeEndHdl, FloatingWindow*, EMPTYARG )
{
return 0;
}
IMPL_LINK( AreaPropertyPanel, ClickTrGrHdl_Impl, ToolBox*, pToolBox )
{
maTrGrPopup.Rearrange(mpFloatTransparenceItem.get());

View File

@@ -155,7 +155,6 @@ private:
DECL_LINK(SelectFillAttrHdl, ListBox* );
DECL_LINK(ChangeTrgrTypeHdl_Impl, void*);
DECL_LINK(ModifyTransparentHdl_Impl, void*);
DECL_LINK( ImplPopupModeEndHdl, FloatingWindow* );
// for transparency gradient
PopupControl* CreateTransparencyGradientControl (PopupContainer* pParent);

View File

@@ -675,14 +675,6 @@ SfxBindings* LinePropertyPanel::GetBindings()
IMPL_LINK( LinePropertyPanel, ImplPopupModeEndHdl, FloatingWindow*, EMPTYARG )
{
return 0;
}
IMPL_LINK(LinePropertyPanel, ToolboxColorSelectHdl,ToolBox*, pToolBox)
{
const OUString aCommand(pToolBox->GetItemCommand(pToolBox->GetCurItemId()));

View File

@@ -156,7 +156,6 @@ private:
void SelectEndStyle(bool bStart);
void SelectLineStyle();
DECL_LINK(ImplPopupModeEndHdl, FloatingWindow* );
DECL_LINK(ImplWidthPopupModeEndHdl, FloatingWindow* );
DECL_LINK(ToolboxColorSelectHdl, ToolBox*);
DECL_LINK(ChangeLineStyleHdl, void*);

View File

@@ -440,20 +440,6 @@ void ParaPropertyPanel::initial()
#endif
}
void ParaPropertyPanel::InitImageList(::boost::scoped_ptr<ToolBox>& rTbx, ImageList& rImglst, ImageList& rImgHlst)
{
sal_Bool bHighContrast = GetDisplayBackground().GetColor().IsDark();
ImageList& rImgLst = bHighContrast ? rImgHlst : rImglst;
sal_uInt16 nCount = rTbx->GetItemCount();
for (sal_uInt16 i = 0; i < nCount; i++)
{
sal_uInt16 nId = rTbx->GetItemId(i);
rTbx->SetItemImage( nId, rImgLst.GetImage( nId ) );
}
}
//===========================for Numbering & Bullet================================================
@@ -628,11 +614,6 @@ IMPL_LINK(ParaPropertyPanel, ToolBoxBackColorDDHandler,ToolBox*, pToolBox)
return 0;
}
IMPL_LINK( ParaPropertyPanel, ImplPopupModeEndHdl, FloatingWindow*, EMPTYARG )
{
return 0;
}
void ParaPropertyPanel::ParaBKGStateChanged(sal_uInt16 /*nSID*/, SfxItemState eState, const SfxPoolItem* pState)
{
if( eState >= SFX_ITEM_DEFAULT && pState->ISA(SvxColorItem))

View File

@@ -193,8 +193,6 @@ private:
const cssu::Reference<css::ui::XSidebar>& rxSidebar);
virtual ~ParaPropertyPanel (void);
void InitImageList(::boost::scoped_ptr<ToolBox>& rTbx, ImageList& rImglst, ImageList& rImgHlst);
DECL_LINK(AlignStyleModifyHdl_Impl, ToolBox*);
DECL_LINK(VertTbxSelectHandler, ToolBox*);
DECL_LINK(NumBTbxSelectHandler, ToolBox*);
@@ -203,7 +201,6 @@ private:
DECL_LINK(ClickProDemote_Hdl_Impl, ToolBox*);
DECL_LINK(ULSpaceHdl_Impl, void*);
DECL_LINK(ClickUL_IncDec_Hdl_Impl, ToolBox*);
DECL_LINK(ImplPopupModeEndHdl, FloatingWindow* );
void VertStateChanged(sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState);
void ParaBKGStateChanged(sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState);

View File

@@ -1,11 +1,13 @@
(anonymous namespace)::AttributeListImpl::AttributeListImpl()
(anonymous namespace)::AttributeListImpl::addAttribute(rtl::OUString const&, rtl::OUString const&, rtl::OUString const&)
(anonymous namespace)::Coverage::test_start(rtl::OUString)
(anonymous namespace)::StringToken::toInt32(int&) const
(anonymous namespace)::StringTokenizer::StringTokenizer(rtl::OUString const&, unsigned short)
(anonymous namespace)::StringTokenizer::getNextToken()
(anonymous namespace)::VBATest::testMiscOLEStuff()
BackingWindow::LinkStubWindowEventListener(void*, void*)
Bcp47CountryEntry::getLocale() const
CuiAboutConfigTabPage::LinkStubHeaderSelect_Impl(void*, void*)
CodeCompleteDataCache::GetVars() const
CodeCompleteDataCache::SetVars(boost::unordered::unordered_map<rtl::OUString, boost::unordered::unordered_map<rtl::OUString, rtl::OUString, rtl::OUStringHash, std::equal_to<rtl::OUString>, std::allocator<std::pair<rtl::OUString const, rtl::OUString> > >, rtl::OUStringHash, std::equal_to<rtl::OUString>, std::allocator<std::pair<rtl::OUString const, boost::unordered::unordered_map<rtl::OUString, rtl::OUString, rtl::OUStringHash, std::equal_to<rtl::OUString>, std::allocator<std::pair<rtl::OUString const, rtl::OUString> > > > > > const&)
CodeCompleteDataCache::print() const
EditTextObjectImpl::SetParaAttribs(int, SfxItemSet const&)
FontSelectPatternAttributes::FontSelectPatternAttributes(PhysicalFontFace const&, Size const&, float, int, bool)
ImplRegionBand::IsInside(long, long)
@@ -47,7 +49,6 @@ ScGlobal::GetStandardFormat(double, SvNumberFormatter&, unsigned long, short)
ScMyNotEmptyCellsIterator::GetCell() const
ScRangeStringConverter::GetRangeListFromString(com::sun::star::uno::Sequence<com::sun::star::table::CellRangeAddress>&, rtl::OUString const&, ScDocument const*, formula::FormulaGrammar::AddressConvention, unsigned short, unsigned short)
ScRefCellValue::commit(ScColumn&, int) const
ScUndoSetCell::ScUndoSetCell(ScDocShell*, ScAddress const&, ScCellValue const&)
ScVbaFormat<ooo::vba::excel::XStyle>::getAddIndent()
ScVbaFormat<ooo::vba::excel::XStyle>::setAddIndent(com::sun::star::uno::Any const&)
ServerFont::GetGlyphBitmap1(int, RawBitmap&) const
@@ -121,6 +122,7 @@ editeng::MisspellRange::MisspellRange()
editeng::Section::Section()
formula::DoubleVectorRefToken::GetArrayLength() const
formula::FormulaDlg::CheckMatrix()
formula::SingleVectorRefToken::SingleVectorRefToken(double const*, unsigned long)
framework::MenuBarManager::getComponentContext()
framework::MenuManager::getContext()
jfw_plugin::VendorBase::createInstance()
@@ -158,11 +160,7 @@ std::_Rb_tree<rtl::OUString, std::pair<rtl::OUString const, (anonymous namespace
std::auto_ptr<formula::FormulaTokenArray>::auto_ptr(std::auto_ptr<formula::FormulaTokenArray>&)
std::auto_ptr<formula::FormulaTokenArray>::auto_ptr(std::auto_ptr_ref<formula::FormulaTokenArray>)
svx::DialControl::GetModifyHdl() const
svx::sidebar::AreaPropertyPanel::LinkStubImplPopupModeEndHdl(void*, void*)
svx::sidebar::LinePropertyPanel::LinkStubImplPopupModeEndHdl(void*, void*)
svx::sidebar::LineWidthControl::GetValueSet()
svx::sidebar::ParaPropertyPanel::InitImageList(boost::scoped_ptr<ToolBox>&, ImageList&, ImageList&)
svx::sidebar::ParaPropertyPanel::LinkStubImplPopupModeEndHdl(void*, void*)
unoidl::UnoidlProvider::getConstant(unsigned int) const
utl::toISO8601(com::sun::star::util::Time const&)
vclmain::createApplication()