summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-11-03 11:05:48 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-11-03 12:18:18 +0000
commitaf55fea94ee2c495629cbe7e4dada387276a85b1 (patch)
tree8d45d5cee30c1f18b656e779a5a8743c729efe44
parent01501ea9efc8128b1ba34baeefe65cad0b6ba428 (diff)
utf-16, not utf-8
-rw-r--r--sw/qa/core/swdoc-test.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/qa/core/swdoc-test.cxx b/sw/qa/core/swdoc-test.cxx
index 839d2e9e2544..d7d453f4f9c6 100644
--- a/sw/qa/core/swdoc-test.cxx
+++ b/sw/qa/core/swdoc-test.cxx
@@ -207,7 +207,7 @@ void SwDocTest::testUserPerceivedCharCount()
CPPUNIT_ASSERT_MESSAGE("Grapheme Count should be 1", nGraphemeCount == 1);
//Surrogate pair example, one single unicode code-point (U+1D11E)
- //represented as two code units in UTF-8
+ //represented as two code units in UTF-16
const sal_Unicode GCLEF[] = { 0xD834, 0xDD1E };
::rtl::OUString sGCLEF(GCLEF, SAL_N_ELEMENTS(GCLEF));
sal_Int32 nCount = pBreakIter->getGraphemeCount(sGCLEF);