diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-09-30 15:12:52 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-01 10:46:15 +0200 |
commit | 46c2a3688c9ee7f558f75cbe856c26c4b8849b7e (patch) | |
tree | 782b141db099812d21c01b0693db178d66b9c965 /sfx2/source/control/msg.cxx | |
parent | 044a683e6c8f864d46fe8ebe3ef5c757cbea30a6 (diff) |
loplugin:stringadd n sfx2..svl
Change-Id: Iaf1bbe37449d4e0cfa817909d56d4bffe1e5a184
Reviewed-on: https://gerrit.libreoffice.org/79893
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/control/msg.cxx')
-rw-r--r-- | sfx2/source/control/msg.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sfx2/source/control/msg.cxx b/sfx2/source/control/msg.cxx index 711aaf992771..faf69598ea06 100644 --- a/sfx2/source/control/msg.cxx +++ b/sfx2/source/control/msg.cxx @@ -46,9 +46,7 @@ sal_uInt16 SfxSlot::GetWhich( const SfxItemPool &rPool ) const OString SfxSlot::GetCommand() const { - OString sRet(".uno:"); - sRet += pUnoName; - return sRet; + return OString(".uno:") + pUnoName; } OUString SfxSlot::GetCommandString() const |