summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uno/unodoc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/uno/unodoc.cxx')
-rw-r--r--sw/source/uibase/uno/unodoc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/uno/unodoc.cxx b/sw/source/uibase/uno/unodoc.cxx
index 40d34dc64676..b525d2e366d3 100644
--- a/sw/source/uibase/uno/unodoc.cxx
+++ b/sw/source/uibase/uno/unodoc.cxx
@@ -37,8 +37,8 @@ extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
Writer_SwTextDocument_get_implementation(
css::uno::XComponentContext* , css::uno::Sequence<css::uno::Any> const& args)
{
- SwGlobals::ensure();
SolarMutexGuard aGuard;
+ SwGlobals::ensure();
css::uno::Reference<css::uno::XInterface> xInterface = sfx2::createSfxModelInstance(args,
[](SfxModelFlags _nCreationFlags)
{