testcase for bfb93ffc6d72d22a833acf9d8c9d166153dad7c0
Change-Id: If61739d54cb2572f20b118a2cf56ab2bd0f306e5
This commit is contained in:
parent
de53a817ac
commit
ec8e012e98
3
sw/qa/extras/rtfimport/data/fdo64671.rtf
Normal file
3
sw/qa/extras/rtfimport/data/fdo64671.rtf
Normal file
@ -0,0 +1,3 @@
|
||||
{\rtf1
|
||||
\u381\'7d
|
||||
\par}
|
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user