diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-23 09:46:31 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-24 08:35:39 +0200 |
commit | ec98adb2ec71882801a4db031c8e2bcf3075c5a0 (patch) | |
tree | 24c3bb82d9d1ebaaf9ea29289a2a775f6d1ee3c4 /sd/source/ui/docshell | |
parent | fdb68feeb12362f1d9d8f70d8cae49b2fa004493 (diff) |
clang-tidy performance-unnecessary-copy-init in sd
Change-Id: I4a494aebdae9b9cba3794e5eee1f3a29eb3ec838
Reviewed-on: https://gerrit.libreoffice.org/62250
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/ui/docshell')
-rw-r--r-- | sd/source/ui/docshell/docshel3.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/docshell/docshel3.cxx b/sd/source/ui/docshell/docshel3.cxx index b79cd11cf1bb..a9925bf5f13b 100644 --- a/sd/source/ui/docshell/docshel3.cxx +++ b/sd/source/ui/docshell/docshel3.cxx @@ -224,7 +224,7 @@ void DrawDocShell::Execute( SfxRequest& rReq ) case SID_GET_COLORLIST: { const SvxColorListItem* pColItem = GetItem( SID_COLOR_TABLE ); - XColorListRef pList = pColItem->GetColorList(); + const XColorListRef& pList = pColItem->GetColorList(); rReq.SetReturnValue( OfaRefItem<XColorList>( SID_GET_COLORLIST, pList ) ); } break; |