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 8793529e10f1..fd5d02bb6818 100644
--- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx
+++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
@@ -1153,7 +1153,7 @@ void RTFDocumentImpl::text(OUString& rString)
{
// ; is the end of the entry
bool bEnd = false;
- if (rString.endsWithAsciiL(";", 1))
+ if (rString.endsWith(";"))
{
rString = rString.copy(0, rString.getLength() - 1);
bEnd = true;