summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2010-06-04 10:43:31 +0200
committerIvo Hinkelmann <ihi@openoffice.org>2010-06-04 10:43:31 +0200
commitbced34db4aae01700a1989c76127d91cf9e440bd (patch)
tree472ce01efedee961ffdeccf01aa64f6c2a171c4f
parent28ed59bb411ab70b119cb93e1034f7c470c8fc60 (diff)
masterfix: #i10000# #i112082# load/store issue
-rw-r--r--xmloff/source/forms/elementexport.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/xmloff/source/forms/elementexport.cxx b/xmloff/source/forms/elementexport.cxx
index 9fe201e65a..d3f39ec996 100644
--- a/xmloff/source/forms/elementexport.cxx
+++ b/xmloff/source/forms/elementexport.cxx
@@ -2034,11 +2034,8 @@ namespace xmloff
OAttributeMetaData::getFormAttributeName(eStringPropertyIds[i]),
aStringPropertyNames[i]);
- // Since as per ODF 1.2, xlink:href and xlink:type need to exist either both or none,
- // we need to write xlink:type, too, even if it carries no information.
- // #i111035# / 2010-04-141/ frank.schoenheit@sun.com
- AddAttributeASCII( XML_NAMESPACE_XLINK, "type", "simple" );
-
+ // #i112082# xlink:type is added as part of exportTargetLocationAttribute
+
// now export the data source name or databaselocation or connection resource
::rtl::OUString sPropValue;
m_xProps->getPropertyValue( PROPERTY_DATASOURCENAME ) >>= sPropValue;