summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/new.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/doc/new.cxx')
-rw-r--r--sfx2/source/doc/new.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/doc/new.cxx b/sfx2/source/doc/new.cxx
index 5bc866fc27b4..163899e73638 100644
--- a/sfx2/source/doc/new.cxx
+++ b/sfx2/source/doc/new.cxx
@@ -182,7 +182,7 @@ IMPL_LINK_NOARG_TYPED(SfxNewFileDialog_Impl, Update, Idle*, void)
if (!nEntry)
{
m_pPreviewWin->Invalidate();
- m_pPreviewWin->SetObjectShell( 0);
+ m_pPreviewWin->SetObjectShell( nullptr);
return;
}
@@ -229,7 +229,7 @@ IMPL_LINK_NOARG_TYPED(SfxNewFileDialog_Impl, Update, Idle*, void)
Application::SetDefDialogParent(pParent);
if (!xDocShell.Is())
{
- m_pPreviewWin->SetObjectShell(0);
+ m_pPreviewWin->SetObjectShell(nullptr);
return;
}
}