summaryrefslogtreecommitdiff
path: root/sw/source/core/txtnode
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2013-08-20 18:26:05 +0100
committerMichael Meeks <michael.meeks@suse.com>2013-08-20 19:30:59 +0000
commit1c7af455ab9345304a7ac48ce2e0310de2ac8a75 (patch)
tree4c71062081ca1990f45c33c6a3ed0ed14278bd34 /sw/source/core/txtnode
parentc3164e42dcdf879ed53e235db13f498eb730bae9 (diff)
Re-work 8bit characters in source code, or remove them.
Change-Id: I93e14d4936c0ffbe03425d4a54bb0e09bc62b3e3 Reviewed-on: https://gerrit.libreoffice.org/5550 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com>
Diffstat (limited to 'sw/source/core/txtnode')
-rw-r--r--sw/source/core/txtnode/swfont.cxx4
-rw-r--r--sw/source/core/txtnode/txtedt.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/txtnode/swfont.cxx b/sw/source/core/txtnode/swfont.cxx
index c12c787151b5..7ba828363028 100644
--- a/sw/source/core/txtnode/swfont.cxx
+++ b/sw/source/core/txtnode/swfont.cxx
@@ -961,7 +961,7 @@ Size SwSubFont::_GetTxtSize( SwDrawTextInfo& rInf )
// #108203#
// If the length of the original string and the CaseMapped one
// are different, it is necessary to handle the given text part as
- // a single snippet since it�s size may differ, too.
+ // a single snippet since its size may differ, too.
xub_StrLen nOldIdx(rInf.GetIdx());
xub_StrLen nOldLen(rInf.GetLen());
const XubString aSnippet(rOldStr, nOldIdx, nOldLen);
@@ -1080,7 +1080,7 @@ void SwSubFont::_DrawText( SwDrawTextInfo &rInf, const sal_Bool bGrey )
// #108203#
// If the length of the original string and the CaseMapped one
// are different, it is necessary to handle the given text part as
- // a single snippet since it�s size may differ, too.
+ // a single snippet since its size may differ, too.
xub_StrLen nOldIdx(rInf.GetIdx());
xub_StrLen nOldLen(rInf.GetLen());
const XubString aSnippet(rOldStr, nOldIdx, nOldLen);
diff --git a/sw/source/core/txtnode/txtedt.cxx b/sw/source/core/txtnode/txtedt.cxx
index a2566dc8f1b6..b830f517af1b 100644
--- a/sw/source/core/txtnode/txtedt.cxx
+++ b/sw/source/core/txtnode/txtedt.cxx
@@ -1633,7 +1633,7 @@ void SwTxtNode::TransliterateText(
const sal_Int16 nWordType = WordType::ANYWORD_IGNOREWHITESPACES;
//! In order to have less trouble with changing text size, e.g. because
- //! of ligatures or � (German small sz) being resolved, we need to process
+ //! of ligatures or German small sz being resolved, we need to process
//! the text replacements from end to start.
//! This way the offsets for the yet to be changed words will be
//! left unchanged by the already replaced text.