diff options
author | Alexandre Vicenzi <vicenzi.alexandre@gmail.com> | 2014-01-31 03:09:23 -0200 |
---|---|---|
committer | Marcos Souza <marcos.souza.org@gmail.com> | 2014-02-02 18:53:03 +0000 |
commit | 32b8c5c4a9fd03b4e05dff2a77ec186973c126b3 (patch) | |
tree | b00ed1cacd475a297e60168b664146ae4e6f8849 /basctl | |
parent | 018500a73f3b1082b6662b7c123dfe5158ae5752 (diff) |
fdo#54938 Convert basctl, mysqlc, sdext, svgio, writerp. to cppu::supportsSer.
Change-Id: I60128dbb5bf83f25eea847fe655d7126c9077414
Reviewed-on: https://gerrit.libreoffice.org/7756
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 'basctl')
-rw-r--r-- | basctl/source/basicide/unomodel.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/basctl/source/basicide/unomodel.cxx b/basctl/source/basicide/unomodel.cxx index 9b2bccd1e9f5..1f354122ef2b 100644 --- a/basctl/source/basicide/unomodel.cxx +++ b/basctl/source/basicide/unomodel.cxx @@ -18,15 +18,15 @@ */ -#include "unomodel.hxx" +#include <basdoc.hxx> +#include <cppuhelper/supportsservice.hxx> +#include <iderdll.hxx> #include <osl/mutex.hxx> -#include <vcl/svapp.hxx> - #include <sfx2/docfac.hxx> #include <sfx2/objsh.hxx> +#include <vcl/svapp.hxx> -#include <iderdll.hxx> -#include <basdoc.hxx> +#include "unomodel.hxx" namespace basctl { @@ -93,7 +93,7 @@ OUString SIDEModel::getImplementationName_Static() sal_Bool SIDEModel::supportsService(const OUString& rServiceName) throw( uno::RuntimeException ) { - return rServiceName == "com.sun.star.script.BasicIDE"; + return cppu::supportsService(this, rServiceName); } uno::Sequence< OUString > SIDEModel::getSupportedServiceNames(void) throw( uno::RuntimeException ) { |