summaryrefslogtreecommitdiff
path: root/sw/qa/extras/inc
diff options
context:
space:
mode:
authorjan iversen <jani@documentfoundation.org>2015-12-25 12:53:34 +0000
committerjan iversen <jani@documentfoundation.org>2015-12-25 20:02:27 +0000
commitda5d3f0fc8edc38f3830644aee0507c7675b37b3 (patch)
tree69134ba4a8e5c69eb55c316f42f02e20f4dc4513 /sw/qa/extras/inc
parentdf862448b7400c0d7406afa0540c52c00632b62f (diff)
Revert "tdf#96412 Fix export text table cell UserDefinedAttributes to xml."
This reverts commit d3e57ccf2e56a75bd4f004de53793f1742e34bc4. There is a problem with the test case, that breaks 2 tinderboxes. A simple test, detected more errors, open the document in LO 5.0.x and save it, then the test case has a problem on all platforms. Change-Id: If4d6a62ed5e7882e6e61e7d31ca0a29094df103c Reviewed-on: https://gerrit.libreoffice.org/20935 Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
Diffstat (limited to 'sw/qa/extras/inc')
-rw-r--r--sw/qa/extras/inc/swmodeltestbase.hxx14
1 files changed, 0 insertions, 14 deletions
diff --git a/sw/qa/extras/inc/swmodeltestbase.hxx b/sw/qa/extras/inc/swmodeltestbase.hxx
index dc977f165b3b..ce02b3e51cf3 100644
--- a/sw/qa/extras/inc/swmodeltestbase.hxx
+++ b/sw/qa/extras/inc/swmodeltestbase.hxx
@@ -11,7 +11,6 @@
#define INCLUDED_SW_QA_EXTRAS_INC_SWMODELTESTBASE_HXX
#include <com/sun/star/container/XContentEnumerationAccess.hpp>
-#include <com/sun/star/container/XNameAccess.hpp>
#include <com/sun/star/frame/Desktop.hpp>
#include <com/sun/star/packages/zip/ZipFileAccess.hpp>
#include <com/sun/star/style/XStyleFamiliesSupplier.hpp>
@@ -29,7 +28,6 @@
#include <com/sun/star/sdb/DatabaseContext.hpp>
#include <com/sun/star/sdb/XDocumentDataSource.hpp>
#include <com/sun/star/sdbc/XRowSet.hpp>
-#include <com/sun/star/xml/AttributeData.hpp>
#include <test/bootstrapfixture.hxx>
#include <test/xmltesttools.hxx>
@@ -435,18 +433,6 @@ protected:
return properties->getPropertySetInfo()->hasPropertyByName(name);
}
- xml::AttributeData getUserDefineAttribute(const uno::Any& obj, const OUString& name, const OUString& rValue = OUString()) const
- {
- uno::Reference<container::XNameContainer> attrsCnt(getProperty<uno::Any>(obj, "UserDefinedAttributes"), uno::UNO_QUERY_THROW);
-
- xml::AttributeData aValue;
- attrsCnt->getByName(name) >>= aValue;
- if (!rValue.isEmpty())
- CPPUNIT_ASSERT_EQUAL_MESSAGE("attribtes of cell does not contain expected value", rValue, aValue.Value);
-
- return aValue;
- }
-
/// Get number of paragraphs of the document.
int getParagraphs()
{