[Libreoffice-commits] core.git: dbaccess/source

Lionel Elie Mamane lionel at mamane.lu
Tue Jan 7 08:30:24 PST 2014


 dbaccess/source/filter/xml/xmlExport.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 7b7e3e48b88f168a5e16f645ca603df23a066b60
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date:   Tue Jan 7 17:30:00 2014 +0100

    typo: type attribute of xlink:href is also in xlinkk namespace
    
    Change-Id: I229358f80a47d5644b068a9813faf60a3a7bd419

diff --git a/dbaccess/source/filter/xml/xmlExport.cxx b/dbaccess/source/filter/xml/xmlExport.cxx
index d66ec0c..63e80fb 100644
--- a/dbaccess/source/filter/xml/xmlExport.cxx
+++ b/dbaccess/source/filter/xml/xmlExport.cxx
@@ -861,8 +861,8 @@ void ODBExport::exportComponent(XPropertySet* _xProp)
     else
         sValue = "reports/" + sValue;
 
-    AddAttribute(XML_NAMESPACE_XLINK, XML_HREF,sValue);
-    AddAttribute(XML_NAMESPACE_DB, XML_TYPE, XML_SIMPLE);
+    AddAttribute(XML_NAMESPACE_XLINK, XML_HREF, sValue);
+    AddAttribute(XML_NAMESPACE_XLINK, XML_TYPE, XML_SIMPLE);
     sal_Bool bAsTemplate = sal_False;
     _xProp->getPropertyValue(PROPERTY_AS_TEMPLATE) >>= bAsTemplate;
     AddAttribute(XML_NAMESPACE_DB, XML_AS_TEMPLATE,bAsTemplate ? XML_TRUE : XML_FALSE);


More information about the Libreoffice-commits mailing list