summaryrefslogtreecommitdiff
path: root/editeng/source/xml/xmltxtimp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'editeng/source/xml/xmltxtimp.cxx')
-rw-r--r--editeng/source/xml/xmltxtimp.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/editeng/source/xml/xmltxtimp.cxx b/editeng/source/xml/xmltxtimp.cxx
index b3e40380fba0..ac28c0d6b457 100644
--- a/editeng/source/xml/xmltxtimp.cxx
+++ b/editeng/source/xml/xmltxtimp.cxx
@@ -55,6 +55,7 @@ using namespace com::sun::star::text;
using namespace cppu;
using namespace xmloff::token;
+namespace {
class SvxXMLTextImportContext : public SvXMLImportContext
{
@@ -67,6 +68,7 @@ private:
const uno::Reference< XText > mxText;
};
+}
SvxXMLTextImportContext::SvxXMLTextImportContext( SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName, const uno::Reference< XText >& xText )
: SvXMLImportContext( rImport, nPrfx, rLName ), mxText( xText )
@@ -97,6 +99,7 @@ SvXMLImportContextRef SvxXMLTextImportContext::CreateChildContext( sal_uInt16 nP
return pContext;
}
+namespace {
class SvxXMLXTextImportComponent : public SvXMLImport
{
@@ -112,6 +115,8 @@ private:
const uno::Reference< XText > mxText;
};
+}
+
SvXMLImportContext *SvxXMLXTextImportComponent::CreateDocumentContext(
sal_uInt16 const nPrefix, const OUString& rLocalName,
const uno::Reference< xml::sax::XAttributeList >& /*xAttrList*/)