summaryrefslogtreecommitdiff
path: root/xmloff/inc
diff options
context:
space:
mode:
authorkripton <yeliztaneroglu@gmail.com>2015-10-29 16:51:23 +0300
committerMichael Stahl <mstahl@redhat.com>2015-11-02 21:29:37 +0000
commitc5d16f557c3dbac8b7c0736216e8da5d681d8075 (patch)
tree6eaab126bf3a9a281bb3d608139370a8d0c3fe62 /xmloff/inc
parente4f60820fd94557f87ef7dbdfb740e45daa18426 (diff)
tdf#74608 xmloff: Constructor feature for XMLMetaImportComponent.
Change-Id: I3f97625552bf993d67b537456e09c9acf3cba6b8 Reviewed-on: https://gerrit.libreoffice.org/19671 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'xmloff/inc')
-rw-r--r--xmloff/inc/MetaImportComponent.hxx75
-rw-r--r--xmloff/inc/facreg.hxx7
2 files changed, 0 insertions, 82 deletions
diff --git a/xmloff/inc/MetaImportComponent.hxx b/xmloff/inc/MetaImportComponent.hxx
deleted file mode 100644
index 0df495ded7df..000000000000
--- a/xmloff/inc/MetaImportComponent.hxx
+++ /dev/null
@@ -1,75 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#ifndef INCLUDED_XMLOFF_INC_METAIMPORTCOMPONENT_HXX
-#define INCLUDED_XMLOFF_INC_METAIMPORTCOMPONENT_HXX
-
-#include <xmloff/xmlimp.hxx>
-
-#include <com/sun/star/uno/Reference.hxx>
-#include <com/sun/star/document/XDocumentProperties.hpp>
-
-
-class XMLMetaImportComponent : public SvXMLImport
-{
-private:
- ::com::sun::star::uno::Reference<
- ::com::sun::star::document::XDocumentProperties> mxDocProps;
-
-public:
- // XMLMetaImportComponent() throw();
- XMLMetaImportComponent(
- const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext
- ) throw();
-
- virtual ~XMLMetaImportComponent() throw();
-
-
-protected:
-
- virtual SvXMLImportContext* CreateContext(
- sal_uInt16 nPrefix,
- const OUString& rLocalName,
- const ::com::sun::star::uno::Reference<
- ::com::sun::star::xml::sax::XAttributeList > & xAttrList ) override;
-
- // XImporter
- virtual void SAL_CALL setTargetDocument( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent >& xDoc )
- throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception) override;
-};
-
-
-// global functions to support the component
-
-::com::sun::star::uno::Sequence< OUString > SAL_CALL
- XMLMetaImportComponent_getSupportedServiceNames()
- throw();
-
-OUString SAL_CALL XMLMetaImportComponent_getImplementationName()
- throw();
-
-::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL
- XMLMetaImportComponent_createInstance(
- const ::com::sun::star::uno::Reference<
- ::com::sun::star::lang::XMultiServiceFactory > & )
- throw( ::com::sun::star::uno::Exception );
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/inc/facreg.hxx b/xmloff/inc/facreg.hxx
index f0f415f72b97..d6f6f0a1bded 100644
--- a/xmloff/inc/facreg.hxx
+++ b/xmloff/inc/facreg.hxx
@@ -290,13 +290,6 @@ css::uno::Reference<css::uno::XInterface> SAL_CALL XMLMetaExportComponent_create
css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
throw (css::uno::Exception);
-// meta import
-OUString SAL_CALL XMLMetaImportComponent_getImplementationName() throw();
-css::uno::Sequence<OUString> SAL_CALL XMLMetaImportComponent_getSupportedServiceNames() throw();
-css::uno::Reference<css::uno::XInterface> SAL_CALL XMLMetaImportComponent_createInstance(
- css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
- throw (css::uno::Exception);
-
// meta export OOo
OUString SAL_CALL XMLMetaExportOOO_getImplementationName() throw();
css::uno::Sequence<OUString> SAL_CALL XMLMetaExportOOO_getSupportedServiceNames() throw();