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

chart::Wall is not a UNO service implementation

Change-Id: I6a5482f4d49e47d1a6289a29d1b573e25fa0b5c5
üst 01cc916f
...@@ -46,8 +46,6 @@ using ::osl::MutexGuard; ...@@ -46,8 +46,6 @@ using ::osl::MutexGuard;
namespace namespace
{ {
static const OUString lcl_aServiceName( "com.sun.star.comp.chart2.Wall" );
struct StaticWallDefaults_Initializer struct StaticWallDefaults_Initializer
{ {
::chart::tPropertyValueMap* operator()() ::chart::tPropertyValueMap* operator()()
...@@ -217,17 +215,6 @@ void Wall::fireModifyEvent() ...@@ -217,17 +215,6 @@ void Wall::fireModifyEvent()
m_xModifyEventForwarder->modified( lang::EventObject( static_cast< uno::XWeak* >( this ))); m_xModifyEventForwarder->modified( lang::EventObject( static_cast< uno::XWeak* >( this )));
} }
uno::Sequence< OUString > Wall::getSupportedServiceNames_Static()
{
uno::Sequence< OUString > aServices( 2 );
aServices[ 0 ] = "com.sun.star.chart2.Wall";
aServices[ 1 ] = "com.sun.star.beans.PropertySet";
return aServices;
}
// implement XServiceInfo methods basing upon getSupportedServiceNames_Static
APPHELPER_XSERVICEINFO_IMPL( Wall, lcl_aServiceName );
using impl::Wall_Base; using impl::Wall_Base;
IMPLEMENT_FORWARD_XINTERFACE2( Wall, Wall_Base, ::property::OPropertySet ) IMPLEMENT_FORWARD_XINTERFACE2( Wall, Wall_Base, ::property::OPropertySet )
......
...@@ -52,20 +52,6 @@ public: ...@@ -52,20 +52,6 @@ public:
Wall(); Wall();
virtual ~Wall(); virtual ~Wall();
//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 /// merge XInterface implementations
DECLARE_XINTERFACE() DECLARE_XINTERFACE()
......
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