summaryrefslogtreecommitdiffstats
path: root/sd
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-07-07 22:47:24 +0200
committerMichael Stahl <mstahl@redhat.com>2015-07-08 11:26:57 +0200
commitb7fffe8460a3c6f619e540f35eb119e0b4a255e7 (patch)
tree6a074f270b0b0eb3d4cf468f085d382565314cb0 /sd
parentsd: dispose SdStyleSheet properly (diff)
downloadcore-b7fffe8460a3c6f619e540f35eb119e0b4a255e7.tar.gz
core-b7fffe8460a3c6f619e540f35eb119e0b4a255e7.zip
sd: test that we fixed the SdStyleSheet lifecycle
Change-Id: Ia7e3c28eec02f23e4926cfb77b0afe7f8e79c711
Diffstat (limited to 'sd')
-rw-r--r--sd/qa/unit/export-tests.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/qa/unit/export-tests.cxx b/sd/qa/unit/export-tests.cxx
index 51a5e51c9ebd..fe60aeba6fb3 100644
--- a/sd/qa/unit/export-tests.cxx
+++ b/sd/qa/unit/export-tests.cxx
@@ -686,8 +686,8 @@ void SdExportTest::testTdf80020()
uno::Reference<container::XNameAccess> xStyleFamily(xStyleFamilies->getByName("graphics"), uno::UNO_QUERY);
uno::Reference<style::XStyle> xStyle(xStyleFamily->getByName("Test Style"), uno::UNO_QUERY);
CPPUNIT_ASSERT_EQUAL(OUString("text"), xStyle->getParentStyle());
+ xDocShRef = saveAndReload( xDocShRef, ODP );
}
- xDocShRef = saveAndReload( xDocShRef, ODP );
uno::Reference<style::XStyleFamiliesSupplier> xStyleFamiliesSupplier(xDocShRef->GetModel(), uno::UNO_QUERY);
uno::Reference<container::XNameAccess> xStyleFamilies(xStyleFamiliesSupplier->getStyleFamilies(), uno::UNO_QUERY);
uno::Reference<container::XNameAccess> xStyleFamily(xStyleFamilies->getByName("graphics"), uno::UNO_QUERY);