summaryrefslogtreecommitdiff
path: root/sw/qa/core/uwriter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/qa/core/uwriter.cxx')
-rw-r--r--sw/qa/core/uwriter.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/qa/core/uwriter.cxx b/sw/qa/core/uwriter.cxx
index 62756392113f..575baa3c32ee 100644
--- a/sw/qa/core/uwriter.cxx
+++ b/sw/qa/core/uwriter.cxx
@@ -1547,6 +1547,8 @@ void SwDocTest::testTransliterate()
m_pDoc->getIDocumentContentOperations().AppendTextNode(*aPaM.GetPoint());
m_pDoc->getIDocumentContentOperations().InsertString(aPaM, "one (two) three");
+ aPaM.SetMark();
+ aPaM.GetMark()->nContent = 0;
CPPUNIT_ASSERT_EQUAL(OUString("One (Two) Three"),
translitTest(*m_pDoc, aPaM,
TransliterationFlags::TITLE_CASE));