diff options
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/edit/textdoc.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/edit/textdoc.cxx b/svtools/source/edit/textdoc.cxx index 5ca9997c7a7c..a8062ecefbf3 100644 --- a/svtools/source/edit/textdoc.cxx +++ b/svtools/source/edit/textdoc.cxx @@ -553,7 +553,7 @@ sal_uLong TextDoc::GetTextLen( const xub_Unicode* pSep, const TextSelection* pSe } if ( pSep ) - nLen += (nEndNode-nStartNode) * String( pSep ).Len(); + nLen += (nEndNode-nStartNode) * rtl_ustr_getLength(pSep); } return nLen; |