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 /editeng/source/misc | |
parent | tdf#120794 crash while selecting a drawing line (diff) | |
download | core-51d1ec7883444e6216f1020122084d3a996c9ecb.tar.gz core-51d1ec7883444e6216f1020122084d3a996c9ecb.zip |
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 'editeng/source/misc')
-rw-r--r-- | editeng/source/misc/acorrcfg.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/editeng/source/misc/acorrcfg.cxx b/editeng/source/misc/acorrcfg.cxx index e2c45e1850b0..c2b3dbe6fe31 100644 --- a/editeng/source/misc/acorrcfg.cxx +++ b/editeng/source/misc/acorrcfg.cxx @@ -48,7 +48,8 @@ SvxAutoCorrCfg::SvxAutoCorrCfg() : bSearchInAllCategories(false) { SvtPathOptions aPathOpt; - OUString sSharePath, sUserPath, sAutoPath( aPathOpt.GetAutoCorrectPath() ); + OUString sSharePath, sUserPath; + OUString const & sAutoPath( aPathOpt.GetAutoCorrectPath() ); sSharePath = sAutoPath.getToken(0, ';'); sUserPath = sAutoPath.getToken(1, ';'); |