diff options
-rw-r--r-- | reportdesign/source/core/api/Shape.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/reportdesign/source/core/api/Shape.cxx b/reportdesign/source/core/api/Shape.cxx index 47270d43bce7..d22ed658bad5 100644 --- a/reportdesign/source/core/api/Shape.cxx +++ b/reportdesign/source/core/api/Shape.cxx @@ -151,7 +151,7 @@ uno::Sequence< OUString > SAL_CALL OShape::getSupportedServiceNames( ) throw(un sal_Bool SAL_CALL OShape::supportsService(const OUString& ServiceName) throw( uno::RuntimeException ) { - return cppu::supportsService(this, ServiceName); + return m_sServiceName == ServiceName || cppu::supportsService(this, ServiceName); } // ----------------------------------------------------------------------------- // XReportComponent |