diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-01-20 09:53:39 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-01-20 10:11:56 +0000 |
commit | b29069d16386d5241b46280d2c67f3a1819f9c4b (patch) | |
tree | 159879d3893f666a72f591956914a6bdecf14ad2 /xmloff/source/style | |
parent | b2ae03b08b2901f9030b4c80870173fe810c9348 (diff) |
can use truncate instead of a new OUStringBuffer
Change-Id: I6efd48af1e00c21675ef0697b38185008a794d7a
Diffstat (limited to 'xmloff/source/style')
-rw-r--r-- | xmloff/source/style/xmlnumfi.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/style/xmlnumfi.cxx b/xmloff/source/style/xmlnumfi.cxx index 11e703f4d947..e4298ab13484 100644 --- a/xmloff/source/style/xmlnumfi.cxx +++ b/xmloff/source/style/xmlnumfi.cxx @@ -1128,7 +1128,7 @@ void SvXMLNumFmtElementContext::EndElement() if ( rParent.ReplaceNfKeyword( NF_KEY_NNN, NF_KEY_NNNN ) ) { - aContent = OUStringBuffer(); + aContent.truncate(); } rParent.SetHasLongDoW( false ); // only once |