Kaydet (Commit) d892671c authored tarafından Miklos Vajna's avatar Miklos Vajna

fdo#47802 testcase

Change-Id: Ib3e399efb0d1116473bc5ff0e1b858b2cfa4aec8
üst 818d80eb
{\rtf1
\paperw12240\paperh15840\margl1440\margr1440\margt1440\margb1440
\ltrrow\trowd \cellx4680\cellx9468\pard\plain \ltrpar\ql \li0\ri0\widctlpar\intbl\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\yts15 \rtlch\fcs1
\af31507\afs22\alang1025 \ltrch\fcs0 \f31506\fs22\lang1033\langfe1033\cgrid\langnp1033\langfenp1033
{\rtlch\fcs1 \af31507 \ltrch\fcs0 \lang1024\langfe1024\noproof\insrsid5924912
{\shp
{\*\shpinst\shpleft705\shptop-130\shpright1920\shpbottom335\shpfhdr0\shpbxcolumn\shpbxignore\shpbypara\shpbyignore\shpwr3\shpwrk0\shpfblwtxt0\shpz0\shplid1026
{\sp
{\sn shapeType}
{\sv 1}
}
{\sp
{\sn fFlipH}
{\sv 0}
}
{\sp
{\sn fFlipV}
{\sv 0}
}
{\sp
{\sn lTxid}
{\sv 65536}
}
{\sp
{\sn dhgt}
{\sv 251658240}
}
{\sp
{\sn fLayoutInCell}
{\sv 1}
}
{\shptxt \ltrpar \pard\plain \ltrpar\ql \li0\ri0\sa200\sl276\slmult1\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \rtlch\fcs1
\af31507\afs22\alang1025 \ltrch\fcs0 \f31506\fs22\lang1033\langfe1033\cgrid\langnp1033\langfenp1033
{\rtlch\fcs1 \af31507 \ltrch\fcs0 \lang1038\langfe1033\langnp1038\insrsid5924912 C}
{\par }
}
}
}
}
{\rtlch\fcs1 \af31507 \ltrch\fcs0 \insrsid5924912 A\cell B\cell
}
\pard\plain \ltrpar\ql \li0\ri0\sa200\sl276\slmult1\widctlpar\intbl\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0 \rtlch\fcs1 \af31507\afs22\alang1025 \ltrch\fcs0 \f31506\fs22\lang1033\langfe1033\cgrid\langnp1033\langfenp1033
{\row }
\pard \ltrpar\ql \li0\ri0\sa200\sl276\slmult1\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0
\par
}
...@@ -149,6 +149,7 @@ public: ...@@ -149,6 +149,7 @@ public:
void testN823655(); void testN823655();
void testFdo66040(); void testFdo66040();
void testN823675(); void testN823675();
void testFdo47802();
CPPUNIT_TEST_SUITE(Test); CPPUNIT_TEST_SUITE(Test);
#if !defined(MACOSX) && !defined(WNT) #if !defined(MACOSX) && !defined(WNT)
...@@ -283,6 +284,7 @@ void Test::run() ...@@ -283,6 +284,7 @@ void Test::run()
{"n823655.rtf", &Test::testN823655}, {"n823655.rtf", &Test::testN823655},
{"fdo66040.rtf", &Test::testFdo66040}, {"fdo66040.rtf", &Test::testFdo66040},
{"n823675.rtf", &Test::testN823675}, {"n823675.rtf", &Test::testN823675},
{"fdo47802.rtf", &Test::testFdo47802},
}; };
header(); header();
for (unsigned int i = 0; i < SAL_N_ELEMENTS(aMethods); ++i) for (unsigned int i = 0; i < SAL_N_ELEMENTS(aMethods); ++i)
...@@ -1377,6 +1379,14 @@ void Test::testN823675() ...@@ -1377,6 +1379,14 @@ void Test::testN823675()
CPPUNIT_ASSERT_EQUAL(OUString("Symbol"), aFont.Name); CPPUNIT_ASSERT_EQUAL(OUString("Symbol"), aFont.Name);
} }
void Test::testFdo47802()
{
uno::Reference<drawing::XDrawPageSupplier> xDrawPageSupplier(mxComponent, uno::UNO_QUERY);
uno::Reference<container::XIndexAccess> xDraws(xDrawPageSupplier->getDrawPage(), uno::UNO_QUERY);
// Shape inside table was ignored.
CPPUNIT_ASSERT_EQUAL(sal_Int32(1), xDraws->getCount());
}
CPPUNIT_TEST_SUITE_REGISTRATION(Test); CPPUNIT_TEST_SUITE_REGISTRATION(Test);
CPPUNIT_PLUGIN_IMPLEMENT(); CPPUNIT_PLUGIN_IMPLEMENT();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment