summaryrefslogtreecommitdiff
path: root/sw/source/core/uibase/app/docsh.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/uibase/app/docsh.cxx')
-rw-r--r--sw/source/core/uibase/app/docsh.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/core/uibase/app/docsh.cxx b/sw/source/core/uibase/app/docsh.cxx
index 6272f021af8f..ab5621da9ed1 100644
--- a/sw/source/core/uibase/app/docsh.cxx
+++ b/sw/source/core/uibase/app/docsh.cxx
@@ -1076,6 +1076,7 @@ SfxStyleSheetBasePool* SwDocShell::GetStyleSheetPool()
void SwDocShell::SetView(SwView* pVw)
{
+ SetViewShell_Impl(pVw);
if ( 0 != (pView = pVw) )
pWrtShell = &pView->GetWrtShell();
else