diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2012-02-07 17:15:03 +0000 |
---|---|---|
committer | Noel Power <noel.power@novell.com> | 2012-02-07 17:24:58 +0000 |
commit | 1f5f826f54684f8f19e69408cffa04cf25b5ad72 (patch) | |
tree | 1926651a85e7a9cfe66eebe08b12f7426cfc4836 | |
parent | fe3ddc22e24a6815481c16e17cd1050bd91b5fe2 (diff) |
fdo#35661: fix sw.SwXViewSettings::com::sun::star::text::ViewSettings
Signed-off-by: Noel Power <noel.power@novell.com>
-rw-r--r-- | sw/qa/unoapi/knownissues.xcl | 3 | ||||
-rw-r--r-- | sw/source/ui/uno/unomod.cxx | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/sw/qa/unoapi/knownissues.xcl b/sw/qa/unoapi/knownissues.xcl index 3cea08107c..a9315fee56 100644 --- a/sw/qa/unoapi/knownissues.xcl +++ b/sw/qa/unoapi/knownissues.xcl @@ -188,8 +188,5 @@ sw.SwXTextViewCursor::com::sun::star::view::XScreenCursor ### fd#35660 ### sw.DocumentSettings::com::sun::star::text::PrintSettings -### fd#35661 ### -sw.SwXViewSettings::com::sun::star::text::ViewSettings - ### fd#35662 ### sw.SwXPrintSettings::com::sun::star::text::PrintSettings diff --git a/sw/source/ui/uno/unomod.cxx b/sw/source/ui/uno/unomod.cxx index 8139a07c2b..fd32cc555f 100644 --- a/sw/source/ui/uno/unomod.cxx +++ b/sw/source/ui/uno/unomod.cxx @@ -748,6 +748,8 @@ void SwXViewSettings::_setSingleValue( const comphelper::PropertyInfo & rInfo, c aOpt.setBrowseMode( bVal ); pView->GetWrtShell().ApplyViewOptions( aOpt ); pView->RecheckBrowseMode(); + if(mpViewOption) + mpViewOption->setBrowseMode(bVal); } } break; |