summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2011-09-12 12:19:54 +0200
committerNoel Power <noel.power@novell.com>2012-02-07 17:24:58 +0000
commit7fcb1bb88d0809c64ac4be2aa95a96a883e55af8 (patch)
tree6668d5994b34842de43d56ab6e598a66269bbf3c
parent1f5f826f54684f8f19e69408cffa04cf25b5ad72 (diff)
fs34b: #i117545# (patch provided by mathias.bauer@oracle.com)
Signed-off-by: Noel Power <noel.power@novell.com>
-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 fd32cc555f..ff33fcf7e5 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;