diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-09-09 09:38:20 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-09-09 08:46:09 +0000 |
commit | 284cdce6edc357f71543ff7392e8213e5da5150f (patch) | |
tree | 224324994ee2d233ad3a6bf7c0fe52ac277ef1ac /svx | |
parent | b226dcb50d6728b62f39c9fa2e016724324944e3 (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 'svx')
-rw-r--r-- | svx/source/sidebar/area/AreaPropertyPanel.cxx | 7 | ||||
-rw-r--r-- | svx/source/sidebar/area/AreaPropertyPanel.hxx | 1 | ||||
-rw-r--r-- | svx/source/sidebar/line/LinePropertyPanel.cxx | 8 | ||||
-rw-r--r-- | svx/source/sidebar/line/LinePropertyPanel.hxx | 1 | ||||
-rw-r--r-- | svx/source/sidebar/paragraph/ParaPropertyPanel.cxx | 19 | ||||
-rw-r--r-- | svx/source/sidebar/paragraph/ParaPropertyPanel.hxx | 3 |
6 files changed, 0 insertions, 39 deletions
diff --git a/svx/source/sidebar/area/AreaPropertyPanel.cxx b/svx/source/sidebar/area/AreaPropertyPanel.cxx index 169ae7954ac7..e667840bb52a 100644 --- a/svx/source/sidebar/area/AreaPropertyPanel.cxx +++ b/svx/source/sidebar/area/AreaPropertyPanel.cxx @@ -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()); diff --git a/svx/source/sidebar/area/AreaPropertyPanel.hxx b/svx/source/sidebar/area/AreaPropertyPanel.hxx index 105491f53a56..ccd15aadb0c3 100644 --- a/svx/source/sidebar/area/AreaPropertyPanel.hxx +++ b/svx/source/sidebar/area/AreaPropertyPanel.hxx @@ -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); diff --git a/svx/source/sidebar/line/LinePropertyPanel.cxx b/svx/source/sidebar/line/LinePropertyPanel.cxx index 0563dcfdf951..45c64d637440 100644 --- a/svx/source/sidebar/line/LinePropertyPanel.cxx +++ b/svx/source/sidebar/line/LinePropertyPanel.cxx @@ -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())); diff --git a/svx/source/sidebar/line/LinePropertyPanel.hxx b/svx/source/sidebar/line/LinePropertyPanel.hxx index 319e7f03c2b5..0147234e809e 100644 --- a/svx/source/sidebar/line/LinePropertyPanel.hxx +++ b/svx/source/sidebar/line/LinePropertyPanel.hxx @@ -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*); diff --git a/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx b/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx index accc3d7034f3..1e54be7617ba 100644 --- a/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx +++ b/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx @@ -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)) diff --git a/svx/source/sidebar/paragraph/ParaPropertyPanel.hxx b/svx/source/sidebar/paragraph/ParaPropertyPanel.hxx index 8b85c91ce771..01ac21b4a0aa 100644 --- a/svx/source/sidebar/paragraph/ParaPropertyPanel.hxx +++ b/svx/source/sidebar/paragraph/ParaPropertyPanel.hxx @@ -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); |