summaryrefslogtreecommitdiff
path: root/xmloff/source/style
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-01-20 09:53:39 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-01-20 10:11:56 +0000
commitb29069d16386d5241b46280d2c67f3a1819f9c4b (patch)
tree159879d3893f666a72f591956914a6bdecf14ad2 /xmloff/source/style
parentb2ae03b08b2901f9030b4c80870173fe810c9348 (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.cxx2
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