summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/rtfexportfilter.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/ww8/rtfexportfilter.hxx')
-rw-r--r--sw/source/filter/ww8/rtfexportfilter.hxx12
1 files changed, 7 insertions, 5 deletions
diff --git a/sw/source/filter/ww8/rtfexportfilter.hxx b/sw/source/filter/ww8/rtfexportfilter.hxx
index d4595eab27b6..de7c94cf80ac 100644
--- a/sw/source/filter/ww8/rtfexportfilter.hxx
+++ b/sw/source/filter/ww8/rtfexportfilter.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -36,7 +37,7 @@
#include <tools/stream.hxx>
#include <shellio.hxx>
-// This is just here so that we don't have to copy&paste its string format methods
+/// Dummy Writer implementation to be able to use the string format methods of the base class
class RtfWriter : public Writer
{
protected:
@@ -51,11 +52,11 @@ class RtfExportFilter : public cppu::WeakImplHelper2
>
{
protected:
- ::com::sun::star::uno::Reference< com::sun::star::lang::XMultiServiceFactory > m_xMSF;
+ ::com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext > m_xCtx;
::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent > m_xSrcDoc;
SvStream* m_pStream;
public:
- RtfExportFilter( const ::com::sun::star::uno::Reference< com::sun::star::lang::XMultiServiceFactory >& xMSF );
+ RtfExportFilter( const ::com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >& xCtx );
virtual ~RtfExportFilter();
// XFilter
@@ -76,10 +77,11 @@ public:
throw();
::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL RtfExport_createInstance(
const ::com::sun::star::uno::Reference<
- com::sun::star::lang::XMultiServiceFactory > &xMSF)
+ com::sun::star::uno::XComponentContext > &xCtx)
throw( ::com::sun::star::uno::Exception );
#define IMPL_NAME_RTFEXPORT "com.sun.star.comp.Writer.RtfExport"
#endif // _RTFEXPORTFILTER_HXX_
-/* vi:set shiftwidth=4 expandtab: */
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */