summaryrefslogtreecommitdiff
path: root/sc/source/ui/unoobj/miscuno.cxx
diff options
context:
space:
mode:
authorMarcos Paulo de Souza <marcos.souza.org@gmail.com>2013-12-05 19:19:16 -0200
committerStephan Bergmann <sbergman@redhat.com>2013-12-09 16:39:00 +0100
commit326aa3ff4d86c5709ae85ab71fd2c6828bbe7559 (patch)
treed5422ede96e614e074883b8f608fd2482f039edd /sc/source/ui/unoobj/miscuno.cxx
parentcf8a54e48c24b2b2b3ca31b0c2d2faef9f2fca0d (diff)
fdo#54938: Convert sc to use cppu::supportsService
Change-Id: I1f1606244fbb6e6ddd5b6427322564a0033de78b Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sc/source/ui/unoobj/miscuno.cxx')
-rw-r--r--sc/source/ui/unoobj/miscuno.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/unoobj/miscuno.cxx b/sc/source/ui/unoobj/miscuno.cxx
index f5f6719b1123..a08fac52189e 100644
--- a/sc/source/ui/unoobj/miscuno.cxx
+++ b/sc/source/ui/unoobj/miscuno.cxx
@@ -17,6 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <cppuhelper/supportsservice.hxx>
#include <vcl/svapp.hxx>
#include "miscuno.hxx"
@@ -230,7 +231,7 @@ OUString SAL_CALL ScIndexEnumeration::getImplementationName()
sal_Bool SAL_CALL ScIndexEnumeration::supportsService( const OUString& ServiceName )
throw(::com::sun::star::uno::RuntimeException)
{
- return sServiceName == ServiceName;
+ return cppu::supportsService(this, ServiceName);
}
::com::sun::star::uno::Sequence< OUString >