summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAurimas Fišeras <aurimas@members.fsf.org>2019-03-02 13:40:43 +0200
committerKatarina Behrens <Katarina.Behrens@cib.de>2019-03-05 13:26:00 +0100
commita8886a6224a0649cd5b48d3874ab960487f17c1d (patch)
tree831afdcd60be1deb72b25f448362e6048ebb9933
parentcd815d75fd039e59eb9f5e2bf0509d46bc1143fd (diff)
Add missing DoClose
Change-Id: I7c6f055a93ece2c80eb0f9c4974829d479d1edca Signed-off-by: Aurimas Fišeras <aurimas@members.fsf.org> Reviewed-on: https://gerrit.libreoffice.org/68617 Tested-by: Jenkins Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
-rw-r--r--sc/qa/unit/pivottable_filters_test.cxx16
1 files changed, 16 insertions, 0 deletions
diff --git a/sc/qa/unit/pivottable_filters_test.cxx b/sc/qa/unit/pivottable_filters_test.cxx
index 024df995e4fe..7697fdb20b48 100644
--- a/sc/qa/unit/pivottable_filters_test.cxx
+++ b/sc/qa/unit/pivottable_filters_test.cxx
@@ -660,6 +660,8 @@ void ScPivotTableFiltersTest::testPivotTableNoColumnsLayout()
const ScMergeFlagAttr& rMergeFlag = static_cast<const ScMergeFlagAttr&>(rPoolItem);
CPPUNIT_ASSERT(rMergeFlag.GetValue() & ScMF::ButtonPopup);
}
+
+ xDocSh->DoClose();
}
void ScPivotTableFiltersTest::testTdf112501()
@@ -726,6 +728,8 @@ void ScPivotTableFiltersTest::testTdf112501()
CPPUNIT_ASSERT(rMergeFlag.GetValue() & ScMF::ButtonPopup);
}
}
+
+ xDocSh->DoClose();
}
void ScPivotTableFiltersTest::testPivotTableExportXLSX()
@@ -746,6 +750,8 @@ void ScPivotTableFiltersTest::testPivotTableExportXLSX()
assertXPath(pTable, "/x:pivotTableDefinition/x:pivotFields/x:pivotField[3]/x:items/x:item", 4);
assertXPath(pTable, "/x:pivotTableDefinition/x:pivotFields/x:pivotField[3]/x:items/x:item[3]",
"h", "1");
+
+ xShell->DoClose();
}
void ScPivotTableFiltersTest::testPivotCacheExportXLSX()
@@ -996,6 +1002,8 @@ void ScPivotTableFiltersTest::testPivotCacheExportXLSX()
"maxValue");
assertXPath(pCacheDef, "/x:pivotCacheDefinition/x:cacheFields/x:cacheField[6]/x:sharedItems",
"count", "1");
+
+ xShell->DoClose();
}
void ScPivotTableFiltersTest::testPivotTableXLSX()
@@ -1862,6 +1870,8 @@ void ScPivotTableFiltersTest::testPivotTableFirstHeaderRowXLSX()
pTable = XPathHelper::parseExport(pXPathFile, m_xSFactory, "xl/pivotTables/pivotTable3.xml");
CPPUNIT_ASSERT(pTable);
assertXPath(pTable, "/x:pivotTableDefinition/x:location", "firstHeaderRow", "1");
+
+ xShell->DoClose();
}
void ScPivotTableFiltersTest::testPivotTableDoubleFieldFilterXLSX()
@@ -2241,6 +2251,8 @@ void ScPivotTableFiltersTest::testPivotTableOutlineModeXLSX()
assertXPath(pTable, "/x:pivotTableDefinition", "compact", "0");
assertXPath(pTable, "/x:pivotTableDefinition", "compactData", "0");
assertXPath(pTable, "/x:pivotTableDefinition/x:pivotFields/x:pivotField[1]", "compact", "0");
+
+ xShell->DoClose();
}
void ScPivotTableFiltersTest::testPivotTableDuplicatedMemberFilterXLSX()
@@ -2259,6 +2271,8 @@ void ScPivotTableFiltersTest::testPivotTableDuplicatedMemberFilterXLSX()
"axisPage");
assertXPath(pTable, "/x:pivotTableDefinition/x:pivotFields/x:pivotField[5]/x:items", "count",
"21");
+
+ xShell->DoClose();
}
void ScPivotTableFiltersTest::testPivotTableTabularModeXLSX()
@@ -2279,6 +2293,8 @@ void ScPivotTableFiltersTest::testPivotTableTabularModeXLSX()
assertXPath(pTable, "/x:pivotTableDefinition", "compactData", "0");
assertXPath(pTable, "/x:pivotTableDefinition/x:pivotFields/x:pivotField[1]", "compact", "0");
assertXPath(pTable, "/x:pivotTableDefinition/x:pivotFields/x:pivotField[1]", "outline", "0");
+
+ xShell->DoClose();
}
void ScPivotTableFiltersTest::testTdf112106()