summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-03 14:36:38 +0200
committerNoel Grandin <noel@peralex.com>2014-03-05 09:17:43 +0200
commitd61b787c84f80bb35b545cde069f0ca621dfc9fb (patch)
tree0db169fc784b287f7459cb518abbf6ca2e3f55e5
parent43c5a22e63bb30374f9d161c7bf8dac095733536 (diff)
remove unused code chart::ModifyListenerCallBack::startListening
Change-Id: I43de71815d13bf359926dc6c6d63eb5a933ca712
-rw-r--r--chart2/source/inc/ModifyListenerCallBack.hxx1
-rw-r--r--chart2/source/tools/ModifyListenerCallBack.cxx15
-rw-r--r--unusedcode.easy1
3 files changed, 0 insertions, 17 deletions
diff --git a/chart2/source/inc/ModifyListenerCallBack.hxx b/chart2/source/inc/ModifyListenerCallBack.hxx
index 34f8d48db0b2..8e2b7901f7c6 100644
--- a/chart2/source/inc/ModifyListenerCallBack.hxx
+++ b/chart2/source/inc/ModifyListenerCallBack.hxx
@@ -41,7 +41,6 @@ public:
virtual ~ModifyListenerCallBack();
- void startListening( const ::com::sun::star::uno::Reference< ::com::sun::star::util::XModifyBroadcaster >& xBroadcaster );
SAL_DLLPRIVATE void stopListening();
private: //methods
diff --git a/chart2/source/tools/ModifyListenerCallBack.cxx b/chart2/source/tools/ModifyListenerCallBack.cxx
index 3dcd37a05faa..0b0aed64e47c 100644
--- a/chart2/source/tools/ModifyListenerCallBack.cxx
+++ b/chart2/source/tools/ModifyListenerCallBack.cxx
@@ -38,7 +38,6 @@ public:
explicit ModifyListenerCallBack_impl( const Link& rCallBack );
virtual ~ModifyListenerCallBack_impl();
- void startListening( const Reference< util::XModifyBroadcaster >& xBroadcaster );
void stopListening();
//XModifyListener
@@ -77,16 +76,6 @@ void SAL_CALL ModifyListenerCallBack_impl::disposing( const lang::EventObject& /
m_xBroadcaster.clear();
}
-void ModifyListenerCallBack_impl::startListening( const ::com::sun::star::uno::Reference< ::com::sun::star::util::XModifyBroadcaster >& xBroadcaster )
-{
- if( m_xBroadcaster == xBroadcaster )
- return;
-
- stopListening();
- m_xBroadcaster = xBroadcaster;
- if( m_xBroadcaster.is() )
- m_xBroadcaster->addModifyListener( this );
-}
void ModifyListenerCallBack_impl::stopListening()
{
if( m_xBroadcaster.is() )
@@ -107,10 +96,6 @@ ModifyListenerCallBack::~ModifyListenerCallBack()
stopListening();
}
-void ModifyListenerCallBack::startListening( const ::com::sun::star::uno::Reference< ::com::sun::star::util::XModifyBroadcaster >& xBroadcaster )
-{
- pModifyListener_impl->startListening( xBroadcaster );
-}
void ModifyListenerCallBack::stopListening()
{
pModifyListener_impl->stopListening();
diff --git a/unusedcode.easy b/unusedcode.easy
index bf40d10cff02..3df7e263dac5 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -215,7 +215,6 @@ basegfx::tools::equal(basegfx::B2DPolygon const&, basegfx::B2DPolygon const&, do
basegfx::tools::equal(basegfx::B3DPolyPolygon const&, basegfx::B3DPolyPolygon const&)
canvas::createSurfaceProxyManager(boost::shared_ptr<canvas::IRenderModule> const&)
chart::ChartModelHelper::setPageSize(com::sun::star::awt::Size const&, com::sun::star::uno::Reference<com::sun::star::frame::XModel> const&)
-chart::ModifyListenerCallBack::startListening(com::sun::star::uno::Reference<com::sun::star::util::XModifyBroadcaster> const&)
comphelper::detail::ConfigurationWrapper::getGroupReadWrite(boost::shared_ptr<comphelper::ConfigurationChanges> const&, rtl::OUString const&) const
comphelper::detail::ConfigurationWrapper::getLocalizedPropertyValue(rtl::OUString const&) const
comphelper::detail::ConfigurationWrapper::setLocalizedPropertyValue(boost::shared_ptr<comphelper::ConfigurationChanges> const&, rtl::OUString const&, com::sun::star::uno::Any const&) const