diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-07-07 22:47:24 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-07-08 11:26:57 +0200 |
commit | b7fffe8460a3c6f619e540f35eb119e0b4a255e7 (patch) | |
tree | 6a074f270b0b0eb3d4cf468f085d382565314cb0 /sd | |
parent | 8904bf48e0cb4d5d0890684ce82dc2ff3252e41f (diff) |
sd: test that we fixed the SdStyleSheet lifecycle
Change-Id: Ia7e3c28eec02f23e4926cfb77b0afe7f8e79c711
Diffstat (limited to 'sd')
-rw-r--r-- | sd/qa/unit/export-tests.cxx | 2 |
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); |