diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-24 14:38:42 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-24 16:12:11 +0200 |
commit | 0bb521f4f9a5af955c704339ffbe02475c8e48cc (patch) | |
tree | 134acbdb026d2e38733398eb69943b4c2d513f76 /UnoControls/source/controls/framecontrol.cxx | |
parent | e1c7cb5d2759341fc235eb41c80a0dbc9107db5c (diff) |
loplugin:returnconstval in UnoControls
Change-Id: I6e855ee6dc2075334e92803d87e660f389b54d53
Reviewed-on: https://gerrit.libreoffice.org/78055
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'UnoControls/source/controls/framecontrol.cxx')
-rw-r--r-- | UnoControls/source/controls/framecontrol.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/UnoControls/source/controls/framecontrol.cxx b/UnoControls/source/controls/framecontrol.cxx index 29545629b508..a954c112d6f1 100644 --- a/UnoControls/source/controls/framecontrol.cxx +++ b/UnoControls/source/controls/framecontrol.cxx @@ -250,15 +250,14 @@ void SAL_CALL FrameControl::unadvise( const Type& aTyp // impl but public method to register service -const Sequence< OUString > FrameControl::impl_getStaticSupportedServiceNames() +Sequence< OUString > FrameControl::impl_getStaticSupportedServiceNames() { - Sequence<OUString> seqServiceNames { "com.sun.star.frame.FrameControl" }; - return seqServiceNames; + return { "com.sun.star.frame.FrameControl" }; } // impl but public method to register service -const OUString FrameControl::impl_getStaticImplementationName() +OUString FrameControl::impl_getStaticImplementationName() { return "stardiv.UnoControls.FrameControl"; } |