diff options
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/uibase/uiview/viewmdi.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/uibase/uiview/viewmdi.cxx b/sw/source/core/uibase/uiview/viewmdi.cxx index c681a8fe38b3..ce6058346dc4 100644 --- a/sw/source/core/uibase/uiview/viewmdi.cxx +++ b/sw/source/core/uibase/uiview/viewmdi.cxx @@ -215,7 +215,7 @@ void SwView::SetViewLayout( sal_uInt16 nColumns, bool bBookMode, bool bViewOnly if ( !GetViewFrame()->GetFrame().IsInPlace() && !bViewOnly ) { - const bool bWeb = 0 != PTR_CAST(SwWebView, this); + const bool bWeb = this->ISA(SwWebView); SwMasterUsrPref *pUsrPref = (SwMasterUsrPref*)SW_MOD()->GetUsrPref(bWeb); // Update MasterUsrPrefs and after that update the ViewOptions of the current View. |