summaryrefslogtreecommitdiff
path: root/sc/qa
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2012-09-26 10:10:53 +0100
committerNoel Power <noel.power@suse.com>2012-09-26 10:40:31 +0100
commit4e0e0d4759cc0f1b2c5ea3c64d2421c1a0dbe87e (patch)
tree1a500fc5e7b8635b03a0f8673a3d5cc4e0502c89 /sc/qa
parent211916f86585cb4f6258eb30e0474e4c21cd37f1 (diff)
don't let numforats in dxf entries clobber global number formats & update test
* Enabling the disabled test which checked a cell style attribute ( that was getting clobbered by the dxf entries above ) * squash the 'escape' characters in dxf num formats ( probably should do this in general * regenerate the formats.xlsx file ( I had to manually tweak this as the conditional tests were failing with the excel created document )
Diffstat (limited to 'sc/qa')
-rw-r--r--sc/qa/unit/data/xlsx/formats.xlsxbin9169 -> 13816 bytes
-rw-r--r--sc/qa/unit/subsequent_filters-test.cxx2
2 files changed, 0 insertions, 2 deletions
diff --git a/sc/qa/unit/data/xlsx/formats.xlsx b/sc/qa/unit/data/xlsx/formats.xlsx
index 1c451be9a294..e579fa5065ed 100644
--- a/sc/qa/unit/data/xlsx/formats.xlsx
+++ b/sc/qa/unit/data/xlsx/formats.xlsx
Binary files differ
diff --git a/sc/qa/unit/subsequent_filters-test.cxx b/sc/qa/unit/subsequent_filters-test.cxx
index 3428582f2765..fb286e818424 100644
--- a/sc/qa/unit/subsequent_filters-test.cxx
+++ b/sc/qa/unit/subsequent_filters-test.cxx
@@ -656,9 +656,7 @@ void testFormats_Impl(ScFiltersTest* pFiltersTest, ScDocument* pDoc, sal_Int32 n
// check actual align applied to cell, should be the same as
// the style
eHorJustify = static_cast<SvxCellHorJustify>(static_cast< const SvxHorJustifyItem& >(pPattern->GetItem( ATTR_HOR_JUSTIFY ) ).GetValue() );
-#if ENABLE_WHEN_FIXED
CPPUNIT_ASSERT_EQUAL_MESSAGE("cell with 'Excel Built-in Date' style should be aligned centre horizontally", SVX_HOR_JUSTIFY_CENTER, eHorJustify);
-#endif
}
}