summaryrefslogtreecommitdiffstats
path: root/xmloff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-06-07 15:24:38 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-06-08 08:45:56 +0200
commit0e2a6e8ea20d74436b544104969a0fdca0003b59 (patch)
tree6ec960da7b28b9938b531820f8f6e35852adc5d6 /xmloff
parentoovbaapi: add Interior.PatternTintAndShade Property (Excel) (diff)
downloadcore-0e2a6e8ea20d74436b544104969a0fdca0003b59.tar.gz
core-0e2a6e8ea20d74436b544104969a0fdca0003b59.zip
remove some unnecessary use of OUStringBuffer
Change-Id: Ia4e02589d2fe79a27b83200a0e7a528a2c806519 Reviewed-on: https://gerrit.libreoffice.org/38508 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/text/txtparae.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx
index 10a0158ed0c3..42d1af88e658 100644
--- a/xmloff/source/text/txtparae.cxx
+++ b/xmloff/source/text/txtparae.cxx
@@ -431,7 +431,7 @@ void FieldParamExporter::Export()
{
sal_Int32 nValue = 0;
aValue >>= nValue;
- ExportParameter(rParameter, OUStringBuffer().append(nValue).makeStringAndClear());
+ ExportParameter(rParameter, OUString::number(nValue));
}
}
}