diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-23 07:50:57 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-23 11:48:22 +0200 |
commit | 51d1ec7883444e6216f1020122084d3a996c9ecb (patch) | |
tree | 8b24c91daecfa2ccb922b6e1c91e29c3bf89e7dc /forms | |
parent | cd6dd8c6f3562cbccbc971b916c6a8933840ffeb (diff) |
clang-tidy performance-unnecessary-copy-init in editeng..i18npool
Change-Id: I2ee2c8d15d8700cfaa1697363da4557c741a5f36
Reviewed-on: https://gerrit.libreoffice.org/62216
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'forms')
-rw-r--r-- | forms/source/richtext/richtextengine.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/richtext/richtextengine.cxx b/forms/source/richtext/richtextengine.cxx index 481c80ba4e91..13070c6d0094 100644 --- a/forms/source/richtext/richtextengine.cxx +++ b/forms/source/richtext/richtextengine.cxx @@ -49,7 +49,7 @@ namespace frm RichTextEngine* pReturn = new RichTextEngine( pPool ); OutputDevice* pOutputDevice = pReturn->GetRefDevice(); - MapMode aDeviceMapMode( pOutputDevice->GetMapMode() ); + const MapMode& aDeviceMapMode( pOutputDevice->GetMapMode() ); pReturn->SetStatusEventHdl( LINK( pReturn, RichTextEngine, EditEngineStatusChanged ) ); |