diff options
Diffstat (limited to 'sw/source/uibase/uiview/view0.cxx')
-rw-r--r-- | sw/source/uibase/uiview/view0.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/uiview/view0.cxx b/sw/source/uibase/uiview/view0.cxx index b10b3f291f6d..090310e62d43 100644 --- a/sw/source/uibase/uiview/view0.cxx +++ b/sw/source/uibase/uiview/view0.cxx @@ -571,7 +571,7 @@ void SwView::ExecViewOptions(SfxRequest &rReq) } // Set UserPrefs, mark request as modified - bool bWebView = 0 != dynamic_cast<const SwWebView*>(this); + bool bWebView = dynamic_cast<const SwWebView*>(this) != nullptr; SwWrtShell &rSh = GetWrtShell(); rSh.StartAction(); SwModule* pModule = SW_MOD(); |