From 0e09134a4a4cbb0639fc586c560c6fb2765487be Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 19 Jun 2014 08:51:49 +0100 Subject: callcatcher: update unused code Change-Id: Ia25c686dac799707cae3f6112c731f8cd3f686c2 --- formula/source/ui/dlg/funcutl.cxx | 24 ------------------------ include/formula/funcutl.hxx | 5 ----- unusedcode.easy | 2 -- 3 files changed, 31 deletions(-) diff --git a/formula/source/ui/dlg/funcutl.cxx b/formula/source/ui/dlg/funcutl.cxx index f833bf8c7019..856d8ba1d062 100644 --- a/formula/source/ui/dlg/funcutl.cxx +++ b/formula/source/ui/dlg/funcutl.cxx @@ -583,30 +583,6 @@ RefButton::RefButton( Window* _pParent, WinBits nStyle ) : SetStartImage(); } -RefButton::RefButton( Window* _pParent, const ResId& rResId) : - ImageButton( _pParent, rResId ), - aImgRefStart( ModuleRes( RID_BMP_REFBTN1 ) ), - aImgRefDone( ModuleRes( RID_BMP_REFBTN2 ) ), - aShrinkQuickHelp( ModuleRes( RID_STR_SHRINK ).toString() ), - aExpandQuickHelp( ModuleRes( RID_STR_EXPAND ).toString() ), - pAnyRefDlg( NULL ), - pRefEdit( NULL ) -{ - SetStartImage(); -} - -RefButton::RefButton( Window* _pParent, const ResId& rResId, RefEdit* pEdit, IControlReferenceHandler* _pDlg ) : - ImageButton( _pParent, rResId ), - aImgRefStart( ModuleRes( RID_BMP_REFBTN1 ) ), - aImgRefDone( ModuleRes( RID_BMP_REFBTN2 ) ), - aShrinkQuickHelp( ModuleRes( RID_STR_SHRINK ).toString() ), - aExpandQuickHelp( ModuleRes( RID_STR_EXPAND ).toString() ), - pAnyRefDlg( _pDlg ), - pRefEdit( pEdit ) -{ - SetStartImage(); -} - extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeRefButton(Window *pParent, VclBuilder::stringmap &) { return new RefButton(pParent, 0); diff --git a/include/formula/funcutl.hxx b/include/formula/funcutl.hxx index 18e94ab20a4d..5752cf078de8 100644 --- a/include/formula/funcutl.hxx +++ b/include/formula/funcutl.hxx @@ -95,13 +95,8 @@ protected: virtual void LoseFocus() SAL_OVERRIDE; public: - RefButton(Window* _pParent, const ResId& rResId); RefButton(Window* _pParent, WinBits nStyle = 0); - RefButton(Window* _pParent, const ResId& rResId, - RefEdit* pEdit, IControlReferenceHandler* pDlg); - void SetReferences( IControlReferenceHandler* pDlg, RefEdit* pEdit ); - void SetStartImage(); void SetEndImage(); void DoRef() diff --git a/unusedcode.easy b/unusedcode.easy index ab59d9c19534..15dd8ac0edb4 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -184,12 +184,10 @@ basegfx::tools::containsOnlyHorizontalAndVerticalEdges(basegfx::B2DPolyPolygon c canvas::createSurfaceProxyManager(boost::shared_ptr const&) chart::ChartTypeUnoDlg::Create(com::sun::star::uno::Reference const&) chart::ShapeToolbarController::create(com::sun::star::uno::Reference const&) -chart::opengl3D::Text::getSize() const comphelper::detail::ConfigurationWrapper::getGroupReadWrite(boost::shared_ptr const&, rtl::OUString const&) const comphelper::detail::ConfigurationWrapper::getLocalizedPropertyValue(rtl::OUString const&) const comphelper::detail::ConfigurationWrapper::setLocalizedPropertyValue(boost::shared_ptr const&, rtl::OUString const&, com::sun::star::uno::Any const&) const connectivity::OSQLParseNode::showParseTree(rtl::OUString&) const -connectivity::file::OStatement_Base::reset() connectivity::firebird::release(int&, cppu::OBroadcastHelperVar&, com::sun::star::uno::Reference&, com::sun::star::lang::XComponent*) connectivity::sdbcx::OGroup::OGroup(bool) connectivity::sdbcx::OGroup::OGroup(rtl::OUString const&, bool) -- cgit