summaryrefslogtreecommitdiff
path: root/writerfilter/inc/rtftok
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@frugalware.org>2011-06-11 00:27:44 +0200
committerMiklos Vajna <vmiklos@frugalware.org>2011-06-11 00:40:07 +0200
commit6839d117d84e7cf02021be6254982edd79531682 (patch)
tree7b3aa5efe535cda33e92dfe219bad0b618f6bd93 /writerfilter/inc/rtftok
parentcf5d05e1d14589cc376ad0b1f5ae8d42549464f7 (diff)
pass the destination doc model to RTFDocumentImpl
so that later it can access its modelfactory
Diffstat (limited to 'writerfilter/inc/rtftok')
-rw-r--r--writerfilter/inc/rtftok/RTFDocument.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/writerfilter/inc/rtftok/RTFDocument.hxx b/writerfilter/inc/rtftok/RTFDocument.hxx
index 2886c52d0b03..2d9c1c5a83e4 100644
--- a/writerfilter/inc/rtftok/RTFDocument.hxx
+++ b/writerfilter/inc/rtftok/RTFDocument.hxx
@@ -4,6 +4,7 @@
#include <resourcemodel/WW8ResourceModel.hxx>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/io/XInputStream.hpp>
+#include <com/sun/star/lang/XComponent.hpp>
namespace writerfilter {
namespace rtftok {
@@ -31,7 +32,8 @@ namespace writerfilter {
static RTFDocument::Pointer_t
createDocument(
::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const & xContext,
- ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > const & xInputStream );
+ ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > const & xInputStream,
+ ::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent > const & xDstDoc);
};
} // namespace rtftok
} // namespace writerfilter