summaryrefslogtreecommitdiff
path: root/sw/source/core/txtnode/txtedt.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/txtnode/txtedt.cxx')
-rw-r--r--sw/source/core/txtnode/txtedt.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/txtnode/txtedt.cxx b/sw/source/core/txtnode/txtedt.cxx
index 6576dcc64164..ad571cc0e644 100644
--- a/sw/source/core/txtnode/txtedt.cxx
+++ b/sw/source/core/txtnode/txtedt.cxx
@@ -1613,7 +1613,7 @@ namespace
{
xub_StrLen nStart;
xub_StrLen nLen;
- String sChanged;
+ OUString sChanged;
Sequence< sal_Int32 > aOffsets;
};
}
@@ -1853,7 +1853,7 @@ void SwTxtNode::TransliterateText(
// call to ReplaceTextOnly
swTransliterationChgData & rData =
aChanges[ aChanges.size() - 1 - i ];
- nSum = nSum + rData.sChanged.Len() - rData.nLen;
+ nSum = nSum + rData.sChanged.getLength() - rData.nLen;
if (nSum > TXTNODE_MAX)
{
SAL_WARN("sw.core", "SwTxtNode::ReplaceTextOnly: "