diff options
Diffstat (limited to 'sc/source/filter/xml/celltextparacontext.cxx')
-rw-r--r-- | sc/source/filter/xml/celltextparacontext.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/xml/celltextparacontext.cxx b/sc/source/filter/xml/celltextparacontext.cxx index 0120c49bf449..3f6c64b53a18 100644 --- a/sc/source/filter/xml/celltextparacontext.cxx +++ b/sc/source/filter/xml/celltextparacontext.cxx @@ -48,7 +48,7 @@ SvXMLImportContext* ScXMLCellTextParaContext::CreateChildContext( if (!maContent.isEmpty()) { mrParentCxt.PushParagraphSpan(maContent, OUString()); - maContent = OUString(); + maContent.clear(); } const SvXMLTokenMap& rTokenMap = GetScImport().GetCellTextParaElemTokenMap(); @@ -152,7 +152,7 @@ SvXMLImportContext* ScXMLCellTextSpanContext::CreateChildContext( if (!maContent.isEmpty()) { mrParentCxt.PushSpan(maContent, maStyleName); - maContent = OUString(); + maContent.clear(); } const SvXMLTokenMap& rTokenMap = GetScImport().GetCellTextSpanElemTokenMap(); |