Change-Id: If61739d54cb2572f20b118a2cf56ab2bd0f306e5
This commit is contained in:
Miklos Vajna
2013-05-27 10:44:01 +02:00
parent de53a817ac
commit ec8e012e98
2 changed files with 11 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
{\rtf1
\u381\'7d
\par}

View File

@@ -136,6 +136,7 @@ public:
void testFdo42109();
void testFdo62977();
void testN818997();
void testFdo64671();
CPPUNIT_TEST_SUITE(Test);
#if !defined(MACOSX) && !defined(WNT)
@@ -261,6 +262,7 @@ void Test::run()
{"fdo42109.rtf", &Test::testFdo42109},
{"fdo62977.rtf", &Test::testFdo62977},
{"n818997.rtf", &Test::testN818997},
{"fdo64671.rtf", &Test::testFdo64671},
};
header();
for (unsigned int i = 0; i < SAL_N_ELEMENTS(aMethods); ++i)
@@ -1240,6 +1242,12 @@ void Test::testN818997()
CPPUNIT_ASSERT_EQUAL(2, getPages());
}
void Test::testFdo64671()
{
// Additional '}' was inserted before the special character.
getRun(getParagraph(1), 1, OUString("\xC5\xBD", 2, RTL_TEXTENCODING_UTF8));
}
CPPUNIT_TEST_SUITE_REGISTRATION(Test);
CPPUNIT_PLUGIN_IMPLEMENT();