diff options
author | Arnaud Versini <arnaud.versini@gmail.com> | 2017-06-04 13:52:35 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-04 15:13:17 +0200 |
commit | c4ac732d8132b36b3817e65d2651599ebe16a7f2 (patch) | |
tree | eafa3ae5ea3c22f7ed1d4df1270eab30832b4b70 /oox/source | |
parent | a9527c9524c11af0558d838ae3d10f77f5475771 (diff) |
Remove usage of OString("")
Change-Id: I0874f81c35573048d05b3842806daa0db67f7887
Reviewed-on: https://gerrit.libreoffice.org/38386
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'oox/source')
-rw-r--r-- | oox/source/export/drawingml.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx index 88fac6520b0b..ad3685869f9e 100644 --- a/oox/source/export/drawingml.cxx +++ b/oox/source/export/drawingml.cxx @@ -2278,7 +2278,7 @@ void DrawingML::WritePresetShape( const char* pShape , std::vector< std::pair<sa mpFS->startElementNS( XML_a, XML_avLst, FSEND ); for(auto iter = rAvList.begin() ; iter != rAvList.end() ; ++iter) { - OString sName = OString("adj") + ( ( iter->first > 0 ) ? OString::number(iter->first) : OString("") ); + OString sName = OString("adj") + ( ( iter->first > 0 ) ? OString::number(iter->first) : OString() ); OString sFmla = OString("val ") + OString::number( iter->second ); mpFS->singleElementNS( XML_a, XML_gd, |