summaryrefslogtreecommitdiffstats
path: root/chart2
diff options
context:
space:
mode:
authorMarcos Paulo de Souza <marcos.souza.org@gmail.com>2013-10-22 23:49:31 -0200
committerStephan Bergmann <sbergman@redhat.com>2013-10-23 11:05:43 +0200
commit8f6d2eef50e1fabac30233c23a800da2c1c8ebc9 (patch)
tree28a9920e2f1fe36aab244ea848d0262c587d8969 /chart2
parentremove comment that is irrelevant after the death of String class (diff)
downloadcore-8f6d2eef50e1fabac30233c23a800da2c1c8ebc9.tar.gz
core-8f6d2eef50e1fabac30233c23a800da2c1c8ebc9.zip
fdo#54938: Kill ServiceInfoHelper::supportsService and use cppu's instead.
Change-Id: I1c2d95e4c3fb6242dcb4cdb88cf9733471a3412b Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/controller/accessibility/AccessibleBase.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/chart2/source/controller/accessibility/AccessibleBase.cxx b/chart2/source/controller/accessibility/AccessibleBase.cxx
index 9550bea9ea48..714662032ed2 100644
--- a/chart2/source/controller/accessibility/AccessibleBase.cxx
+++ b/chart2/source/controller/accessibility/AccessibleBase.cxx
@@ -37,6 +37,7 @@
#include <vcl/svapp.hxx>
#include <rtl/uuid.h>
#include <cppuhelper/queryinterface.hxx>
+#include <cppuhelper/supportsservice.hxx>
#include <svl/itemset.hxx>
#include <editeng/unofdesc.hxx>
#include <editeng/outliner.hxx>
@@ -898,7 +899,7 @@ OUString SAL_CALL AccessibleBase::getImplementationName()
sal_Bool SAL_CALL AccessibleBase::supportsService( const OUString& ServiceName )
throw (RuntimeException)
{
- return comphelper::ServiceInfoHelper::supportsService( ServiceName, getSupportedServiceNames() );
+ return cppu::supportsService( this, ServiceName );
}
uno::Sequence< OUString > SAL_CALL AccessibleBase::getSupportedServiceNames()