summaryrefslogtreecommitdiff
path: root/include/xmloff/xmlictxt.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/xmloff/xmlictxt.hxx')
-rw-r--r--include/xmloff/xmlictxt.hxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/xmloff/xmlictxt.hxx b/include/xmloff/xmlictxt.hxx
index 554ecbe4e9e2..d22a72394504 100644
--- a/include/xmloff/xmlictxt.hxx
+++ b/include/xmloff/xmlictxt.hxx
@@ -34,6 +34,10 @@
class SvXMLNamespaceMap;
class SvXMLImport;
+class SvXMLImportContext;
+
+typedef rtl::Reference<SvXMLImportContext> SvXMLImportContextRef;
+
class XMLOFF_DLLPUBLIC SvXMLImportContext : public cppu::WeakImplHelper< css::xml::sax::XFastContextHandler >
{
friend class SvXMLImport;
@@ -75,7 +79,7 @@ public:
/** Create a children element context. By default, the import's
* CreateContext method is called to create a new default context. */
- virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix,
+ virtual SvXMLImportContextRef CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLocalName,
const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList );
@@ -118,8 +122,6 @@ public:
void ReleaseRef();
};
-typedef rtl::Reference<SvXMLImportContext> SvXMLImportContextRef;
-
#endif // INCLUDED_XMLOFF_XMLICTXT_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */