diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2021-10-01 19:22:18 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2021-10-02 01:43:31 +0200 |
commit | d830179a072072f3cc3ea5d942189647bcb7e1c7 (patch) | |
tree | 2d294decaf56a9bc649b52d2cce77d0e13a50fd9 /test/source | |
parent | 01807ad5e04966abeb396b7599cbbbf822de6a03 (diff) |
tdf#144758: default value for 'table:orientation' attribute is 'row'
See [OpenDocument-v1.3-part3] section 19.690.3 <table:database-range>.
Regression after commit ed88b144ce24b9a733d4a9ab6614307c96537baa.
Also fixes relevant part of unit test first introduced in commit
6069ef7976c4455c1875afecf02c41c5731f6546, which was at that time
testing that IsSortColumns property returned false; then in commit
fc95d20500997a1a460be6f3553727299a5080eb, the correct value was
changed to true, reflecting the regression fixed here.
Change-Id: I6a12a0ad13405bc388efb7c2c3bbf31e89905620
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122955
Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'test/source')
-rw-r--r-- | test/source/sheet/xdatabaserange.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/source/sheet/xdatabaserange.cxx b/test/source/sheet/xdatabaserange.cxx index 2c45ba0fbf0a..f1133ac00f5d 100644 --- a/test/source/sheet/xdatabaserange.cxx +++ b/test/source/sheet/xdatabaserange.cxx @@ -69,7 +69,7 @@ void XDatabaseRange::testGetSortDescriptor() { bool bIsSortColumns = true; aProp.Value >>= bIsSortColumns; - CPPUNIT_ASSERT(bIsSortColumns); + CPPUNIT_ASSERT(!bIsSortColumns); } else if (aProp.Name == "ContainsHeader") { |