diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-10 12:37:04 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-11 09:26:28 +0200 |
commit | 2962ceec4b96758bec7e7a0390d5ec60e3ce708f (patch) | |
tree | 54b1f57a5ee59babeef28b2f624024cecef8f4c3 /svx/source/fmcomp | |
parent | b5303563b785115075b5f9b7b4abccd8f9d916e2 (diff) |
remove some unnecessary temporary OUStrings
found with:
git grep -nP 'OUString\(\s*\w+\s*\)' | grep -v new | grep -v return
Change-Id: I923109b4339210aed2639e423fbc4d5f19233f02
Reviewed-on: https://gerrit.libreoffice.org/37463
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/fmcomp')
-rw-r--r-- | svx/source/fmcomp/fmgridcl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/fmcomp/fmgridcl.cxx b/svx/source/fmcomp/fmgridcl.cxx index 51744355fa5a..9f913c0ec943 100644 --- a/svx/source/fmcomp/fmgridcl.cxx +++ b/svx/source/fmcomp/fmgridcl.cxx @@ -580,9 +580,9 @@ IMPL_LINK_NOARG( FmGridHeader, OnAsyncExecuteDrop, void*, void ) sRealName += "_"; sRealName += sPurePostfix; if (i) - xSecondCol->setPropertyValue(FM_PROP_NAME, makeAny(OUString(sRealName))); + xSecondCol->setPropertyValue(FM_PROP_NAME, makeAny(sRealName)); else - xCol->setPropertyValue(FM_PROP_NAME, makeAny(OUString(sRealName))); + xCol->setPropertyValue(FM_PROP_NAME, makeAny(sRealName)); } } else |