summaryrefslogtreecommitdiff
path: root/filter/source/xsltdialog/typedetectionimport.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-06-04 08:45:46 +0200
committerNoel Grandin <noel@peralex.com>2013-06-05 08:13:22 +0200
commitc0654ce02272499236f7b43920e288c5fff34d4f (patch)
tree73dd8b626c0f172e1d9e77a3477ac9f9ac7f72d2 /filter/source/xsltdialog/typedetectionimport.hxx
parentcee55a2c5463134c3a394bf6eda22998bc6cb2c9 (diff)
fdo#46808, Convert XMultiServiceFactory in filter module
Change-Id: I9dcddba4f5a8a7adeddc31b5df014b0174b9745d
Diffstat (limited to 'filter/source/xsltdialog/typedetectionimport.hxx')
-rw-r--r--filter/source/xsltdialog/typedetectionimport.hxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/filter/source/xsltdialog/typedetectionimport.hxx b/filter/source/xsltdialog/typedetectionimport.hxx
index 73d1077946e2..8e1f0296dd7e 100644
--- a/filter/source/xsltdialog/typedetectionimport.hxx
+++ b/filter/source/xsltdialog/typedetectionimport.hxx
@@ -61,10 +61,10 @@ typedef std::vector< Node* > NodeVector;
class TypeDetectionImporter : public cppu::WeakImplHelper1 < com::sun::star::xml::sax::XDocumentHandler >
{
public:
- TypeDetectionImporter( com::sun::star::uno::Reference< com::sun::star::lang::XMultiServiceFactory >& xMSF );
+ TypeDetectionImporter();
virtual ~TypeDetectionImporter( void );
- static void doImport( com::sun::star::uno::Reference< com::sun::star::lang::XMultiServiceFactory >& xMSF, com::sun::star::uno::Reference < com::sun::star::io::XInputStream > xOS, XMLFilterVector& rFilters );
+ static void doImport( const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >& rxContext, com::sun::star::uno::Reference < com::sun::star::io::XInputStream > xOS, XMLFilterVector& rFilters );
virtual void SAL_CALL startDocument( )
throw(::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException);
@@ -88,8 +88,6 @@ private:
filter_info_impl* createFilterForNode( Node * pNode );
Node* findTypeNode( const OUString& rType );
- com::sun::star::uno::Reference< com::sun::star::lang::XMultiServiceFactory > mxMSF;
-
std::stack< ImportState > maStack;
PropertyMap maPropertyMap;