summaryrefslogtreecommitdiff
path: root/writerfilter/source/rtftok/rtfdocumentimpl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'writerfilter/source/rtftok/rtfdocumentimpl.cxx')
-rw-r--r--writerfilter/source/rtftok/rtfdocumentimpl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
index 2e98dd74b890..0b596592ecad 100644
--- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx
+++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
@@ -5226,7 +5226,7 @@ int RTFDocumentImpl::popState()
if (aStr.getLength() > nLength)
aStr = aStr.copy(nLength+1); // zero-terminated string
else
- aStr = OString();
+ aStr.clear();
// extract default text
nLength = aStr.toChar();
if (!aStr.isEmpty())