diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-08-25 15:37:44 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-08-25 21:49:36 +0200 |
commit | 8ad8d878320ad4e3cef1f6c1657781bf003d4e71 (patch) | |
tree | 8fb1a1112a580bc0782bdbea21438ccf74babc60 /sw/inc/unocoll.hxx | |
parent | 1d1d1c62caf2ee6a96946e96d782e03f3ef80439 (diff) |
SwXServiceProvider::MakeInstance() requires a SwDoc
Change-Id: I2522e43100baa691baeb55947bb47ce7ccabb5b4
Diffstat (limited to 'sw/inc/unocoll.hxx')
-rw-r--r-- | sw/inc/unocoll.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/unocoll.hxx b/sw/inc/unocoll.hxx index d5c97bb44d21..c365b7d0dabe 100644 --- a/sw/inc/unocoll.hxx +++ b/sw/inc/unocoll.hxx @@ -256,7 +256,7 @@ class SwXServiceProvider public: static OUString GetProviderName(sal_uInt16 nObjectType); static sal_uInt16 GetProviderType(const OUString& rServiceName); - static ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > MakeInstance(sal_uInt16 nObjectType, SwDoc* pDoc); + static ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > MakeInstance(sal_uInt16 nObjectType, SwDoc & rDoc); static ::com::sun::star::uno::Sequence<OUString> GetAllServiceNames(); }; |