diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-11-03 17:26:28 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-11-03 17:28:19 +0100 |
commit | 97b5ed250d531382564d64521f8b803c92f775a0 (patch) | |
tree | f7c0a5ec7f1e8340871c2c30c3183244a028c0c1 /sc | |
parent | 82ceea3903bd361ad97c71a3ab89c7d2a92ec6e9 (diff) |
remove all debug output from filters-test that was for the xls bug
Diffstat (limited to 'sc')
-rw-r--r-- | sc/qa/unit/filters-test.cxx | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/sc/qa/unit/filters-test.cxx b/sc/qa/unit/filters-test.cxx index 74a90065201a..b9e9e239218c 100644 --- a/sc/qa/unit/filters-test.cxx +++ b/sc/qa/unit/filters-test.cxx @@ -468,33 +468,6 @@ void ScFiltersTest::testFormats() CPPUNIT_ASSERT_MESSAGE("Failed to load formats.*", xDocSh.Is()); ScDocument* pDoc = xDocSh->GetDocument(); - SheetPrinter StringPrinter( 8, 3); - SheetPrinter ValuePrinter( 8, 3); - for (SCROW nRow = 0; nRow < 8; ++nRow) - { - for (SCCOL nCol = 0; nCol < 3; ++nCol) - { - String aString; - double aVal; - pDoc->GetValue(nCol, nRow, 0, aVal); - pDoc->GetString(nCol, nRow, 0, aString); - ValuePrinter.set(nRow, nCol, rtl::OUString::valueOf(aVal)); - StringPrinter.set(nRow, nCol, aString); - } - } - ValuePrinter.print("Data sheet content: Value"); - ValuePrinter.clear(); - StringPrinter.print("Data sheet content: String"); - StringPrinter.clear(); - - - //output this just for debugging, should make it easier to see which local the numberformatter really used - //it helps to understand why some windows build fails in this test - LanguageType aLang, aCjkLang, aCtlLang; - pDoc->GetLanguage(aLang, aCjkLang, aCtlLang); - std::cout << "Language Settings in ScDocument: normal: " << aLang << " Cjk: " << aCjkLang << " Ctl: " << aCtlLang << std::endl; - std::cout << "Language for NumberFormatter: " << pDoc->GetFormatTable()->GetLanguage() << std::endl; - //test Sheet1 with csv file rtl::OUString aCSVFileName; createCSVPath(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("numberFormat.")), aCSVFileName); @@ -553,7 +526,6 @@ void ScFiltersTest::testFormats() if ( i == ODS ) { rtl::OUString aCondString = getConditionalFormatString(pDoc, 3,0,2); - std::cerr << rtl::OUStringToOString(aCondString, RTL_TEXTENCODING_UTF8).getStr() << std::endl; createCSVPath(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("conditionalFormatting.")), aCSVFileName); testCondFile(aCSVFileName, pDoc, 2); } @@ -577,7 +549,6 @@ void ScFiltersTest::testMatrix() CPPUNIT_ASSERT_MESSAGE("Failed to load matrix.*", xDocSh.Is()); ScDocument* pDoc = xDocSh->GetDocument(); - rtl::OUString aCSVFileName; createCSVPath(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("matrix.")), aCSVFileName); testFile(aCSVFileName, pDoc, 0); |