summaryrefslogtreecommitdiff
path: root/sw/source/ui/dialog/docstdlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/dialog/docstdlg.cxx')
-rw-r--r--sw/source/ui/dialog/docstdlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/dialog/docstdlg.cxx b/sw/source/ui/dialog/docstdlg.cxx
index 18adafa64d49..f71c8ee3fecb 100644
--- a/sw/source/ui/dialog/docstdlg.cxx
+++ b/sw/source/ui/dialog/docstdlg.cxx
@@ -121,7 +121,7 @@ void SwDocStatPage::SetData(const SwDocStat &rStat)
void SwDocStatPage::Update()
{
SfxViewShell *pVSh = SfxViewShell::Current();
- SwViewShell *pSh = 0;
+ SwViewShell *pSh = nullptr;
if ( dynamic_cast< const SwView *>( pVSh ) != nullptr )
pSh = static_cast<SwView*>(pVSh)->GetWrtShellPtr();
else if ( dynamic_cast< const SwPagePreview *>( pVSh ) != nullptr )