diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2013-11-08 03:06:09 +0100 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2013-11-08 03:09:53 +0100 |
commit | e7fad6da680631f82684d4f248ab77d53caa4189 (patch) | |
tree | 8c60ae2dbe05480c6549122cfdbb9c1599b41905 | |
parent | a5ccfa0fccc1139c2f4c66053214b8c229b9bda4 (diff) |
fdo#71130 pretend to support service m_sServiceName
Which was the case before, and was probably erroneously changed in
commit 196f980012739d94654e6863b85b2e49f7e1a1e5
fdo#54938: Replace existsValue for cppu::supportsService
Change-Id: I20323bba1105d1844c79a5a0ad3c9e133a9d0d05
-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 |