diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-03-28 16:39:25 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-03-28 16:46:47 +0100 |
commit | 233ab7729585becf9952b6ddf95d7dab1d07340a (patch) | |
tree | cdb85fdfbe1374602e2a988797fdd0507be33c7a /sw | |
parent | 048e64e71fad3187d2165ed6eb0a42fdcd6e0caa (diff) |
sw: some idiot broke text transliteration
(regression from 8d25fde680beb9dafb7c9c861b5c00d1ae4f4985)
Change-Id: I00556cd87115fa8e67f32502fc88a4d1eee2a423
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/txtnode/txtedt.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/txtnode/txtedt.cxx b/sw/source/core/txtnode/txtedt.cxx index 39cb9ca74f44..bfc312f09ed0 100644 --- a/sw/source/core/txtnode/txtedt.cxx +++ b/sw/source/core/txtnode/txtedt.cxx @@ -1670,7 +1670,7 @@ void SwTxtNode::TransliterateText( GetTxt(), GetLang(nStt), nStt, nLen, &aOffsets) ); assert(nStt < m_Text.getLength()); - if (0 == rtl_ustr_shortenedCompare_WithLength( + if (0 != rtl_ustr_shortenedCompare_WithLength( m_Text.getStr() + nStt, m_Text.getLength() - nStt, sChgd.getStr(), sChgd.getLength(), nLen)) { @@ -1754,7 +1754,7 @@ void SwTxtNode::TransliterateText( GetLang(nCurrentStart), nCurrentStart, nLen, &aOffsets) ); assert(nStt < m_Text.getLength()); - if (0 == rtl_ustr_shortenedCompare_WithLength( + if (0 != rtl_ustr_shortenedCompare_WithLength( m_Text.getStr() + nStt, m_Text.getLength() - nStt, sChgd.getStr(), sChgd.getLength(), nLen)) { @@ -1808,7 +1808,7 @@ void SwTxtNode::TransliterateText( m_Text, nLang, nStt, nLen, &aOffsets) ); assert(nStt < m_Text.getLength()); - if (0 == rtl_ustr_shortenedCompare_WithLength( + if (0 != rtl_ustr_shortenedCompare_WithLength( m_Text.getStr() + nStt, m_Text.getLength() - nStt, sChgd.getStr(), sChgd.getLength(), nLen)) { |