[Libreoffice-commits] core.git: chart2/source
Stephan Bergmann
sbergman at redhat.com
Fri Mar 28 03:54:49 PDT 2014
chart2/source/model/inc/StockBar.hxx | 14 --------------
chart2/source/model/main/StockBar.cxx | 13 -------------
2 files changed, 27 deletions(-)
New commits:
commit 06a4698850a1d9d1d4db703dc42852b0d36f6acd
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Mar 28 11:54:09 2014 +0100
chart::impl::StockBar is not a UNO service implementation
Change-Id: I5faa0dd028dcc79d09c47fd53b7804121a062e2e
diff --git a/chart2/source/model/inc/StockBar.hxx b/chart2/source/model/inc/StockBar.hxx
index 6e8d3d0..65e465a1 100644
--- a/chart2/source/model/inc/StockBar.hxx
+++ b/chart2/source/model/inc/StockBar.hxx
@@ -50,20 +50,6 @@ public:
explicit StockBar( bool bRisingCourse );
virtual ~StockBar();
- //TODO: are these actually used (given they are not SAL_OVERRIDE)?
- virtual OUString SAL_CALL
- getImplementationName()
- throw( ::com::sun::star::uno::RuntimeException, std::exception );
- virtual sal_Bool SAL_CALL
- supportsService( const OUString& ServiceName )
- throw( ::com::sun::star::uno::RuntimeException, std::exception );
- virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL
- getSupportedServiceNames()
- throw( ::com::sun::star::uno::RuntimeException, std::exception );
- static OUString getImplementationName_Static();
- static ::com::sun::star::uno::Sequence< OUString >
- getSupportedServiceNames_Static();
-
/// merge XInterface implementations
DECLARE_XINTERFACE()
diff --git a/chart2/source/model/main/StockBar.cxx b/chart2/source/model/main/StockBar.cxx
index 4c2044b..de6eae8 100644
--- a/chart2/source/model/main/StockBar.cxx
+++ b/chart2/source/model/main/StockBar.cxx
@@ -41,8 +41,6 @@ using ::osl::MutexGuard;
namespace
{
-static const OUString lcl_aServiceName( "com.sun.star.comp.chart2.StockBar" );
-
struct StaticStockBarInfoHelper_Initializer
{
::cppu::OPropertyArrayHelper* operator()()
@@ -224,17 +222,6 @@ void StockBar::fireModifyEvent()
m_xModifyEventForwarder->modified( lang::EventObject( static_cast< uno::XWeak* >( this )));
}
-uno::Sequence< OUString > StockBar::getSupportedServiceNames_Static()
-{
- uno::Sequence< OUString > aServices( 2 );
- aServices[ 0 ] = "com.sun.star.chart2.StockBar";
- aServices[ 1 ] = "com.sun.star.beans.PropertySet";
- return aServices;
-}
-
-// implement XServiceInfo methods basing upon getSupportedServiceNames_Static
-APPHELPER_XSERVICEINFO_IMPL( StockBar, lcl_aServiceName );
-
using impl::StockBar_Base;
IMPLEMENT_FORWARD_XINTERFACE2( StockBar, StockBar_Base, ::property::OPropertySet )
More information about the Libreoffice-commits
mailing list