summaryrefslogtreecommitdiff
path: root/writerperfect/source/writer/EPUBPackage.cxx
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2023-01-15 13:43:31 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2023-01-15 12:32:29 +0000
commitf2f008c52aaa88329c07f441de60d6fdfce9f0b3 (patch)
treee5676badaa6361adcc2b5d91e9f9cdc6aa645c1c /writerperfect/source/writer/EPUBPackage.cxx
parent9d2355b674d103fe8a73d2db716389980bb69e55 (diff)
Merge SvXMLAttributeList to comphelper::AttributeList
And simplify the latter, to always use "CDATA" type (as the former did). "CDATA" was used in all cases but one, where an empty string was used. Change-Id: I1b3bfae40e29628e4094d9a6e58a69a66865874c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145526 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'writerperfect/source/writer/EPUBPackage.cxx')
-rw-r--r--writerperfect/source/writer/EPUBPackage.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/writerperfect/source/writer/EPUBPackage.cxx b/writerperfect/source/writer/EPUBPackage.cxx
index 727a8ed7e3de..c08b60ad70ed 100644
--- a/writerperfect/source/writer/EPUBPackage.cxx
+++ b/writerperfect/source/writer/EPUBPackage.cxx
@@ -18,9 +18,9 @@
#include <com/sun/star/embed/XHierarchicalStorageAccess.hpp>
#include <sal/log.hxx>
+#include <comphelper/attributelist.hxx>
#include <comphelper/storagehelper.hxx>
#include <unotools/mediadescriptor.hxx>
-#include <xmloff/attrlist.hxx>
using namespace com::sun::star;
@@ -80,7 +80,7 @@ void EPUBPackage::openElement(const char* pName, const librevenge::RVNGPropertyL
{
assert(mxOutputWriter.is());
- rtl::Reference<SvXMLAttributeList> pAttributeList(new SvXMLAttributeList());
+ rtl::Reference<comphelper::AttributeList> pAttributeList(new comphelper::AttributeList());
librevenge::RVNGPropertyList::Iter it(rAttributes);
for (it.rewind(); it.next();)