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/richtext | |
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/richtext')
-rw-r--r-- | forms/source/richtext/richtextcontrol.cxx | 2 | ||||
-rw-r--r-- | forms/source/richtext/richtextmodel.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/forms/source/richtext/richtextcontrol.cxx b/forms/source/richtext/richtextcontrol.cxx index 5b8158fba565..7e1b9bebcfd9 100644 --- a/forms/source/richtext/richtextcontrol.cxx +++ b/forms/source/richtext/richtextcontrol.cxx @@ -215,7 +215,7 @@ namespace frm OUString SAL_CALL ORichTextControl::getImplementationName() { - return OUString( "com.sun.star.comp.form.ORichTextControl" ); + return "com.sun.star.comp.form.ORichTextControl"; } Sequence< OUString > SAL_CALL ORichTextControl::getSupportedServiceNames() diff --git a/forms/source/richtext/richtextmodel.cxx b/forms/source/richtext/richtextmodel.cxx index 7d0ff09eeed8..3d1e7a75e834 100644 --- a/forms/source/richtext/richtextmodel.cxx +++ b/forms/source/richtext/richtextmodel.cxx @@ -228,7 +228,7 @@ namespace frm OUString SAL_CALL ORichTextModel::getImplementationName() { - return OUString( "com.sun.star.comp.forms.ORichTextModel" ); + return "com.sun.star.comp.forms.ORichTextModel"; } Sequence< OUString > SAL_CALL ORichTextModel::getSupportedServiceNames() @@ -497,7 +497,7 @@ namespace frm OUString SAL_CALL ORichTextModel::getServiceName() { - return OUString(FRM_SUN_COMPONENT_RICHTEXTCONTROL); + return FRM_SUN_COMPONENT_RICHTEXTCONTROL; } |