From b7fffe8460a3c6f619e540f35eb119e0b4a255e7 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Tue, 7 Jul 2015 22:47:24 +0200 Subject: sd: test that we fixed the SdStyleSheet lifecycle Change-Id: Ia7e3c28eec02f23e4926cfb77b0afe7f8e79c711 --- sd/qa/unit/export-tests.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sd') 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 xStyleFamily(xStyleFamilies->getByName("graphics"), uno::UNO_QUERY); uno::Reference 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 xStyleFamiliesSupplier(xDocShRef->GetModel(), uno::UNO_QUERY); uno::Reference xStyleFamilies(xStyleFamiliesSupplier->getStyleFamilies(), uno::UNO_QUERY); uno::Reference xStyleFamily(xStyleFamilies->getByName("graphics"), uno::UNO_QUERY); -- cgit