Line data Source code
1 : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : /*
3 : * This file is part of the LibreOffice project.
4 : *
5 : * This Source Code Form is subject to the terms of the Mozilla Public
6 : * License, v. 2.0. If a copy of the MPL was not distributed with this
7 : * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 : */
9 :
10 : #include <rtfdocumentimpl.hxx>
11 :
12 : namespace writerfilter {
13 : namespace rtftok {
14 :
15 0 : RTFDocument::Pointer_t RTFDocumentFactory::createDocument(uno::Reference< uno::XComponentContext > const & xContext,
16 : uno::Reference< io::XInputStream > const & xInputStream,
17 : uno::Reference< lang::XComponent > const & xDstDoc,
18 : uno::Reference< frame::XFrame > const & xFrame,
19 : uno::Reference< task::XStatusIndicator > const & xStatusIndicator)
20 : {
21 0 : return RTFDocument::Pointer_t(new RTFDocumentImpl(xContext, xInputStream, xDstDoc, xFrame, xStatusIndicator));
22 : }
23 :
24 : } // namespace rtftok
25 0 : } // namespace writerfilter
26 :
27 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|