summaryrefslogtreecommitdiff
path: root/toolkit/source/controls/roadmapentry.cxx
diff options
context:
space:
mode:
authorAlexandre Vicenzi <vicenzi.alexandre@gmail.com>2014-01-25 10:47:28 -0200
committerMarcos Souza <marcos.souza.org@gmail.com>2014-01-25 16:14:15 +0000
commit03cc76aad32b0aa40e229b14d3b2dca3ebc92dd8 (patch)
tree463b9dff46eb528b881fccddde7dd0d2be71de8b /toolkit/source/controls/roadmapentry.cxx
parent74c876e615fe575657d0a083f5a3781d4020f0c4 (diff)
fdo#54938 Convert toolkit to cppu::supportsService
Change-Id: I3a35a86d9ad9419011f0305fdc41c8484ae63a04 Reviewed-on: https://gerrit.libreoffice.org/7646 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com> Tested-by: Marcos Souza <marcos.souza.org@gmail.com>
Diffstat (limited to 'toolkit/source/controls/roadmapentry.cxx')
-rw-r--r--toolkit/source/controls/roadmapentry.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/toolkit/source/controls/roadmapentry.cxx b/toolkit/source/controls/roadmapentry.cxx
index e636552e628c..1e01e24287d6 100644
--- a/toolkit/source/controls/roadmapentry.cxx
+++ b/toolkit/source/controls/roadmapentry.cxx
@@ -18,10 +18,9 @@
*/
#include <toolkit/controls/roadmapentry.hxx>
-
#include <rtl/ustring.hxx>
-
#include <com/sun/star/beans/PropertyAttribute.hpp>
+#include <cppuhelper/supportsservice.hxx>
ORoadmapEntry::ORoadmapEntry() : ORoadmapEntry_Base( )
@@ -86,7 +85,7 @@ OUString SAL_CALL ORoadmapEntry::getImplementationName( ) throw (::com::sun::st
sal_Bool SAL_CALL ORoadmapEntry::supportsService( const OUString& ServiceName ) throw (::com::sun::star::uno::RuntimeException)
{
- return ServiceName == "com.sun.star.awt.RoadmapItem";
+ return cppu::supportsService(this, ServiceName);
}
::com::sun::star::uno::Sequence< OUString > SAL_CALL ORoadmapEntry::getSupportedServiceNames( ) throw (::com::sun::star::uno::RuntimeException)