summaryrefslogtreecommitdiff
path: root/writerperfect/source/writer/EPUBPackage.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'writerperfect/source/writer/EPUBPackage.cxx')
-rw-r--r--writerperfect/source/writer/EPUBPackage.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/writerperfect/source/writer/EPUBPackage.cxx b/writerperfect/source/writer/EPUBPackage.cxx
index 914983e97580..fe5cbf069ce4 100644
--- a/writerperfect/source/writer/EPUBPackage.cxx
+++ b/writerperfect/source/writer/EPUBPackage.cxx
@@ -87,8 +87,7 @@ void EPUBPackage::openElement(const char* pName, const librevenge::RVNGPropertyL
pAttributeList->AddAttribute(OUString::fromUtf8(it.key()),
OUString::fromUtf8(it()->getStr().cstr()));
- mxOutputWriter->startElement(OUString::fromUtf8(pName),
- uno::Reference<xml::sax::XAttributeList>(pAttributeList.get()));
+ mxOutputWriter->startElement(OUString::fromUtf8(pName), pAttributeList);
}
void EPUBPackage::closeElement(const char* pName)