diff options
author | Eike Rathke <erack@redhat.com> | 2012-01-11 12:32:46 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2012-01-11 13:18:49 +0100 |
commit | 51a5998433641aa62c4ce94af0be11d3c6e81852 (patch) | |
tree | 57c46cb39d66a1001feed6987a7ee0b38092dd69 | |
parent | cfec56f89f295002b2b2b9f68cd8f62dcca7c59c (diff) |
adapted test case cell input to new date acceptance reality
Cell input in testDataPilotLabels() like 1.2.3 was prefixed with single
quote / apostrophe to not form a date input but string instead. With the
new date acceptance, in en-US locale 1.2.3 isn't a date anymore and the
quote becomes part of the cell content, so the test checking for 1.2.3
failed because the result was '1.2.3
-rw-r--r-- | sc/qa/unit/ucalc.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx index 18fb569bba9d..d45ddb4c58e5 100644 --- a/sc/qa/unit/ucalc.cxx +++ b/sc/qa/unit/ucalc.cxx @@ -1390,14 +1390,14 @@ void Test::testDataPilotLabels() DPFieldDef aFields[] = { { "Software", sheet::DataPilotFieldOrientation_ROW }, { "Version", sheet::DataPilotFieldOrientation_COLUMN }, - { "'1.2.3", sheet::DataPilotFieldOrientation_DATA } + { "1.2.3", sheet::DataPilotFieldOrientation_DATA } }; // Raw data const char* aData[][3] = { - { "LibreOffice", "'3.3.0", "30" }, - { "LibreOffice", "'3.3.1", "20" }, - { "LibreOffice", "'3.4.0", "45" }, + { "LibreOffice", "3.3.0", "30" }, + { "LibreOffice", "3.3.1", "20" }, + { "LibreOffice", "3.4.0", "45" }, }; size_t nFieldCount = SAL_N_ELEMENTS(aFields); |