core.git: 2 commits - dbaccess/source

Lionel Elie Mamane lionel at mamane.lu
Tue Jan 7 08:31:27 PST 2014


On Tue, Jan 07, 2014 at 05:27:13PM +0100, Michael Stahl wrote:
> On 07/01/14 17:18, Lionel Elie Mamane wrote:

>> commit 4933d0578e73130d9b06a849139934d952338155
>> Author: Lionel Elie Mamane <lionel at mamane.lu>
>> Date:   Sat Dec 21 10:41:51 2013 +0100

>>     ODB ODF standard conformance: xlink:href needs xlink:type

>> diff --git a/dbaccess/source/filter/xml/xmlExport.cxx b/dbaccess/source/filter/xml/xmlExport.cxx
>> index f1b9350..d66ec0c 100644
>> --- a/dbaccess/source/filter/xml/xmlExport.cxx
>> +++ b/dbaccess/source/filter/xml/xmlExport.cxx
>> @@ -651,6 +651,7 @@ void ODBExport::exportConnectionData()
>>              else
>>              {
>>                  AddAttribute(XML_NAMESPACE_XLINK, XML_HREF,sValue);
>> +                AddAttribute(XML_NAMESPACE_XLINK, XML_TYPE, XML_SIMPLE);
>>                  SvXMLElementExport aElem(*this,XML_NAMESPACE_DB, XML_CONNECTION_RESOURCE, sal_True, sal_True);
>>              }
>>          }
>> @@ -861,6 +862,7 @@ void ODBExport::exportComponent(XPropertySet* _xProp)
>>          sValue = "reports/" + sValue;
>>  
>>      AddAttribute(XML_NAMESPACE_XLINK, XML_HREF,sValue);
>> +    AddAttribute(XML_NAMESPACE_DB, XML_TYPE, XML_SIMPLE);

> should this not be XML_NAMESPACE_XLINK ?

Yes. Thanks for the review. Fixed.

-- 
Lionel


More information about the LibreOffice mailing list