summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2011-09-12 12:19:54 +0200
committerStephan Bergmann <sbergman@redhat.com>2011-09-12 22:47:48 +0200
commit2b39501b8ec6affb8afa9c6b93dff434b075e211 (patch)
treebfa5d60eb4d8752933576aa3bcf9eb737e9ed161 /sw
parent75b6b24ab5e238dcd49678ce6add509e97e39605 (diff)
fs34b: #i117545# (patch provided by mathias.bauer@oracle.com)
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/uno/unomod.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/sw/source/ui/uno/unomod.cxx b/sw/source/ui/uno/unomod.cxx
index d98212ba1fdf..bfa87079e039 100644
--- a/sw/source/ui/uno/unomod.cxx
+++ b/sw/source/ui/uno/unomod.cxx
@@ -748,8 +748,13 @@ void SwXViewSettings::_setSingleValue( const comphelper::PropertyInfo & rInfo, c
aOpt.setBrowseMode( bVal );
pView->GetWrtShell().ApplyViewOptions( aOpt );
pView->RecheckBrowseMode();
+
+ // must be set in mpViewOption as this will overwrite settings in _post!
if(mpViewOption)
mpViewOption->setBrowseMode(bVal);
+
+ // disable multiple layout
+ pView->GetDocShell()->ToggleBrowserMode(bVal, pView );
}
}
break;