Avoid potential negative array index access to cached text.
[LibreOffice.git] / sc / qa / unit / functions_old.cxx
blob0a3663f988d923f098695c6a7cdeac1d05ebd63c
1 #include "functions_test.hxx"
3 class FunctionsTestOld : public FunctionsTest
5 public:
6 FunctionsTestOld();
8 void testFormulasFODS();
10 CPPUNIT_TEST_SUITE(FunctionsTestOld);
11 CPPUNIT_TEST(testFormulasFODS);
12 CPPUNIT_TEST_SUITE_END();
16 FunctionsTestOld::FunctionsTestOld():
17 FunctionsTest()
21 void FunctionsTestOld::testFormulasFODS()
23 OUString aDirectoryURL = m_directories.getURLFromSrc(u"/sc/qa/unit/data/functions/fods/");
24 recursiveScan(test::pass, "OpenDocument Spreadsheet Flat XML", aDirectoryURL,
25 "com.sun.star.comp.filter.OdfFlatXml,,com.sun.star.comp.Calc.XMLOasisImporter,com.sun.star.comp.Calc.XMLOasisExporter,,,true",
26 FODS_FORMAT_TYPE, SotClipboardFormatId::NONE, 0, false);
29 CPPUNIT_TEST_SUITE_REGISTRATION(FunctionsTestOld);
31 CPPUNIT_PLUGIN_IMPLEMENT();
33 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */