summaryrefslogtreecommitdiff
path: root/sd/source/ui/func/fusearch.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/func/fusearch.cxx')
-rw-r--r--sd/source/ui/func/fusearch.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sd/source/ui/func/fusearch.cxx b/sd/source/ui/func/fusearch.cxx
index a6d535f43821..b7186a70866d 100644
--- a/sd/source/ui/func/fusearch.cxx
+++ b/sd/source/ui/func/fusearch.cxx
@@ -57,7 +57,7 @@ FuSearch::FuSearch (
SdDrawDocument* pDoc,
SfxRequest& rReq )
: FuPoor(pViewSh, pWin, pView, pDoc, rReq),
- pSdOutliner(NULL),
+ pSdOutliner(nullptr),
bOwnOutliner(false)
{
}
@@ -90,7 +90,7 @@ void FuSearch::DoExecute( SfxRequest& )
FuSearch::~FuSearch()
{
- if ( ! mpDocSh->IsInDestruction() && mpDocSh->GetViewShell()!=NULL)
+ if ( ! mpDocSh->IsInDestruction() && mpDocSh->GetViewShell()!=nullptr)
mpDocSh->GetViewShell()->GetViewFrame()->GetBindings().Invalidate( SidArraySpell );
if (pSdOutliner)
@@ -103,11 +103,11 @@ FuSearch::~FuSearch()
void FuSearch::SearchAndReplace( const SvxSearchItem* pSearchItem )
{
ViewShellBase* pBase = dynamic_cast<ViewShellBase*>( SfxViewShell::Current() );
- ViewShell* pViewShell = NULL;
- if (pBase != NULL)
+ ViewShell* pViewShell = nullptr;
+ if (pBase != nullptr)
pViewShell = pBase->GetMainViewShell().get();
- if (pViewShell != NULL)
+ if (pViewShell != nullptr)
{
if ( pSdOutliner && dynamic_cast< const DrawViewShell *>( pViewShell ) != nullptr && !bOwnOutliner )
{