diff options
author | Rosemary Sebastian <rosemaryseb8@gmail.com> | 2017-03-16 15:25:26 +0000 |
---|---|---|
committer | Rosemary Sebastian <rosemaryseb8@gmail.com> | 2017-03-16 16:17:40 +0000 |
commit | cae16645e17df6a1f87443c00b6abfd26dabd27f (patch) | |
tree | bc733ae0bf29349b6a937b93671640df74868e57 /sd | |
parent | 3e5aa33ef4ea8f5839e358dd62acdc09fe64dda8 (diff) |
Revert "Implement export and import of author field in fixed format"
This reverts commit 5de40734af30a8b897c6c5b7f681759e36a25557.
Change-Id: Ib09fb1dc54066cadcd9503c92140d78e7482ae6c
Reviewed-on: https://gerrit.libreoffice.org/35281
Reviewed-by: Rosemary Sebastian <rosemaryseb8@gmail.com>
Tested-by: Rosemary Sebastian <rosemaryseb8@gmail.com>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/qa/unit/data/odp/author_fixed.odp | bin | 10680 -> 0 bytes | |||
-rw-r--r-- | sd/qa/unit/export-tests.cxx | 19 |
2 files changed, 0 insertions, 19 deletions
diff --git a/sd/qa/unit/data/odp/author_fixed.odp b/sd/qa/unit/data/odp/author_fixed.odp Binary files differdeleted file mode 100644 index 2e666ad17fee..000000000000 --- a/sd/qa/unit/data/odp/author_fixed.odp +++ /dev/null diff --git a/sd/qa/unit/export-tests.cxx b/sd/qa/unit/export-tests.cxx index dd57ec01bf3d..797bf36d6192 100644 --- a/sd/qa/unit/export-tests.cxx +++ b/sd/qa/unit/export-tests.cxx @@ -92,7 +92,6 @@ public: void testTdf62176(); void testTransparentBackground(); void testEmbeddedPdf(); - void testAuthorField(); CPPUNIT_TEST_SUITE(SdExportTest); @@ -107,7 +106,6 @@ public: CPPUNIT_TEST(testTdf62176); CPPUNIT_TEST(testTransparentBackground); CPPUNIT_TEST(testEmbeddedPdf); - CPPUNIT_TEST(testAuthorField); CPPUNIT_TEST_SUITE_END(); @@ -554,23 +552,6 @@ void SdExportTest::testEmbeddedPdf() #endif } -void SdExportTest::testAuthorField() -{ - ::sd::DrawDocShellRef xDocShRef = loadURL(m_directories.getURLFromSrc("/sd/qa/unit/data/odp/author_fixed.odp"), ODP); - - xDocShRef = saveAndReload( xDocShRef.get(), ODP ); - - uno::Reference< text::XTextField > xField = getTextFieldFromPage(0, 0, 0, 0, xDocShRef); - CPPUNIT_ASSERT_MESSAGE("Where is the text field?", xField.is() ); - - uno::Reference< beans::XPropertySet > xPropSet( xField, uno::UNO_QUERY_THROW ); - bool bFixed = false; - xPropSet->getPropertyValue("IsFixed") >>= bFixed; - CPPUNIT_ASSERT_MESSAGE("Author field is not fixed", bFixed); - - xDocShRef->DoClose(); -} - CPPUNIT_TEST_SUITE_REGISTRATION(SdExportTest); CPPUNIT_PLUGIN_IMPLEMENT(); |