summaryrefslogtreecommitdiff
path: root/sw/source/ui/dialog/wordcountdialog.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/dialog/wordcountdialog.cxx')
-rw-r--r--sw/source/ui/dialog/wordcountdialog.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/dialog/wordcountdialog.cxx b/sw/source/ui/dialog/wordcountdialog.cxx
index bebfe4f3870a..befd3a534aa3 100644
--- a/sw/source/ui/dialog/wordcountdialog.cxx
+++ b/sw/source/ui/dialog/wordcountdialog.cxx
@@ -37,7 +37,7 @@
IMPL_STATIC_LINK_NOARG_TYPED(SwWordCountFloatDlg, CloseHdl, Button*, void)
{
SfxViewFrame* pVFrame = ::GetActiveView()->GetViewFrame();
- if (pVFrame != NULL)
+ if (pVFrame != nullptr)
{
pVFrame->ToggleChildWindow(FN_WORDCOUNT_DIALOG);
}
@@ -50,7 +50,7 @@ SwWordCountFloatDlg::~SwWordCountFloatDlg()
void SwWordCountFloatDlg::dispose()
{
- SwViewShell::SetCareWin( 0 );
+ SwViewShell::SetCareWin( nullptr );
m_pCurrentWordFT.clear();
m_pCurrentCharacterFT.clear();
m_pCurrentCharacterExcludingSpacesFT.clear();