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/source/uibase | |
parent | 1d1d1c62caf2ee6a96946e96d782e03f3ef80439 (diff) |
SwXServiceProvider::MakeInstance() requires a SwDoc
Change-Id: I2522e43100baa691baeb55947bb47ce7ccabb5b4
Diffstat (limited to 'sw/source/uibase')
-rw-r--r-- | sw/source/uibase/uno/unotxdoc.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/uno/unotxdoc.cxx b/sw/source/uibase/uno/unotxdoc.cxx index 964a575d4365..09e5c9ace00e 100644 --- a/sw/source/uibase/uno/unotxdoc.cxx +++ b/sw/source/uibase/uno/unotxdoc.cxx @@ -1642,7 +1642,7 @@ css::uno::Reference<css::uno::XInterface> SwXTextDocument::create( const sal_uInt16 nType = SwXServiceProvider::GetProviderType(rServiceName); if (nType != SW_SERVICE_INVALID) { - return SwXServiceProvider::MakeInstance(nType, pDocShell->GetDoc()); + return SwXServiceProvider::MakeInstance(nType, *pDocShell->GetDoc()); } if (rServiceName == "com.sun.star.drawing.DashTable") { |