summaryrefslogtreecommitdiff
path: root/writerperfect/source/writer/exp/xmlictxt.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'writerperfect/source/writer/exp/xmlictxt.hxx')
-rw-r--r--writerperfect/source/writer/exp/xmlictxt.hxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/writerperfect/source/writer/exp/xmlictxt.hxx b/writerperfect/source/writer/exp/xmlictxt.hxx
index 0076852f25d3..cbdeab0f6898 100644
--- a/writerperfect/source/writer/exp/xmlictxt.hxx
+++ b/writerperfect/source/writer/exp/xmlictxt.hxx
@@ -10,12 +10,13 @@
#ifndef INCLUDED_WRITERPERFECT_SOURCE_WRITER_EXP_XMLICTXT_HXX
#define INCLUDED_WRITERPERFECT_SOURCE_WRITER_EXP_XMLICTXT_HXX
-#include <cppuhelper/implbase.hxx>
-
#include <librevenge/librevenge.h>
#include <com/sun/star/xml/sax/XDocumentHandler.hpp>
+#include <cppuhelper/implbase.hxx>
+#include <rtl/ref.hxx>
+
namespace writerperfect
{
namespace exp
@@ -32,7 +33,7 @@ class XMLImportContext : public cppu::WeakImplHelper
public:
XMLImportContext(XMLImport &rImport);
- virtual XMLImportContext *CreateChildContext(const OUString &rName, const css::uno::Reference<css::xml::sax::XAttributeList> &xAttribs);
+ virtual rtl::Reference<XMLImportContext> CreateChildContext(const OUString &rName, const css::uno::Reference<css::xml::sax::XAttributeList> &xAttribs);
// XDocumentHandler
void SAL_CALL startDocument() override;