diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-11 08:54:58 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-11 09:42:55 +0200 |
commit | 9c5c905680f7cb58eb3d0fbf25725a50c17896da (patch) | |
tree | d15a5bade5d44301a6292649a23ff65e219a8adb /formula/source | |
parent | ba7492ebe6f943976fc41274672ec41c035b4fbb (diff) |
clang-tidy modernize-use-emplace in editeng..framework
Change-Id: I7739c4f77c856d34f8484754244df13d8fef840e
Reviewed-on: https://gerrit.libreoffice.org/42151
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'formula/source')
-rw-r--r-- | formula/source/ui/dlg/FormulaHelper.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/formula/source/ui/dlg/FormulaHelper.cxx b/formula/source/ui/dlg/FormulaHelper.cxx index f6eae1381561..f1b747fa8058 100644 --- a/formula/source/ui/dlg/FormulaHelper.cxx +++ b/formula/source/ui/dlg/FormulaHelper.cxx @@ -147,7 +147,7 @@ void FormulaHelper::FillArgStrings( const OUString& rFormula, _rArgs.push_back(rFormula.copy( nStart, nEnd-1-nStart )); else { - _rArgs.push_back(OUString()); + _rArgs.emplace_back(); bLast = true; } } @@ -157,13 +157,13 @@ void FormulaHelper::FillArgStrings( const OUString& rFormula, if ( nStart < nEnd ) _rArgs.push_back( rFormula.copy( nStart, nEnd-nStart ) ); else - _rArgs.push_back(OUString()); + _rArgs.emplace_back(); } } if ( bLast ) for ( ; i<nArgs; i++ ) - _rArgs.push_back(OUString()); + _rArgs.emplace_back(); } |