diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-07-30 17:54:50 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-07-31 12:58:39 +0200 |
commit | f018d6274ddd6992c863f091b2f1632e52197267 (patch) | |
tree | 8407771d03764fda826f62145b7125e028fc8d23 /forms/source/xforms | |
parent | 27dcfba1009085b759f4f578b56a464340c80a0c (diff) |
Improved loplugin:stringconstant (now that GCC 7 supports it): forms
Change-Id: I105fc954a983280ec07759a7f9d21e726a970a80
Reviewed-on: https://gerrit.libreoffice.org/76676
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'forms/source/xforms')
-rw-r--r-- | forms/source/xforms/model.cxx | 2 | ||||
-rw-r--r-- | forms/source/xforms/xforms_services.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/xforms/model.cxx b/forms/source/xforms/model.cxx index 0b5b4cbd245f..433bbb89581b 100644 --- a/forms/source/xforms/model.cxx +++ b/forms/source/xforms/model.cxx @@ -600,7 +600,7 @@ Sequence<sal_Int8> Model::getImplementationId() OUString Model::getImplementationName() { - return OUString("com.sun.star.form.Model"); + return "com.sun.star.form.Model"; } sal_Bool Model::supportsService(OUString const & ServiceName) diff --git a/forms/source/xforms/xforms_services.cxx b/forms/source/xforms/xforms_services.cxx index b6f39fe5ae69..0550273bb7e7 100644 --- a/forms/source/xforms/xforms_services.cxx +++ b/forms/source/xforms/xforms_services.cxx @@ -36,7 +36,7 @@ class Implementation: css::lang::XServiceInfo> { OUString SAL_CALL getImplementationName() override - { return OUString("com.sun.star.form.XForms"); } + { return "com.sun.star.form.XForms"; } sal_Bool SAL_CALL supportsService(OUString const & ServiceName) override { return cppu::supportsService(this, ServiceName); } |