Kaydet (Commit) 06a46988 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

chart::impl::StockBar is not a UNO service implementation

Change-Id: I5faa0dd028dcc79d09c47fd53b7804121a062e2e
üst 804e3bfc
......@@ -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()
......
......@@ -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 )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment