summaryrefslogtreecommitdiff
path: root/chart2/source/model/main/DataPoint.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/model/main/DataPoint.cxx')
-rw-r--r--chart2/source/model/main/DataPoint.cxx27
1 files changed, 6 insertions, 21 deletions
diff --git a/chart2/source/model/main/DataPoint.cxx b/chart2/source/model/main/DataPoint.cxx
index 19a54e067fb4..0f359648f31f 100644
--- a/chart2/source/model/main/DataPoint.cxx
+++ b/chart2/source/model/main/DataPoint.cxx
@@ -272,24 +272,9 @@ void SAL_CALL DataPoint::disposing( const lang::EventObject& )
// ____ OPropertySet ____
void DataPoint::firePropertyChangeEvent()
{
- fireModifyEvent();
-}
-
-void DataPoint::fireModifyEvent()
-{
m_xModifyEventForwarder->modified( lang::EventObject( static_cast< uno::XWeak* >( this )));
}
-Sequence< OUString > DataPoint::getSupportedServiceNames_Static()
-{
- return Sequence< OUString >{
- "com.sun.star.drawing.FillProperties",
- "com.sun.star.chart2.DataPoint",
- "com.sun.star.chart2.DataPointProperties",
- "com.sun.star.beans.PropertySet"
- };
-}
-
// needed by MSC compiler
using impl::DataPoint_Base;
@@ -299,11 +284,6 @@ IMPLEMENT_FORWARD_XINTERFACE2( DataPoint, DataPoint_Base, ::property::OPropertyS
OUString SAL_CALL DataPoint::getImplementationName()
throw( css::uno::RuntimeException, std::exception )
{
- return getImplementationName_Static();
-}
-
-OUString DataPoint::getImplementationName_Static()
-{
return OUString("com.sun.star.comp.chart.DataPoint") ;
}
@@ -316,7 +296,12 @@ sal_Bool SAL_CALL DataPoint::supportsService( const OUString& rServiceName )
css::uno::Sequence< OUString > SAL_CALL DataPoint::getSupportedServiceNames()
throw( css::uno::RuntimeException, std::exception )
{
- return getSupportedServiceNames_Static();
+ return Sequence< OUString >{
+ "com.sun.star.drawing.FillProperties",
+ "com.sun.star.chart2.DataPoint",
+ "com.sun.star.chart2.DataPointProperties",
+ "com.sun.star.beans.PropertySet"
+ };
}
} // namespace chart