summaryrefslogtreecommitdiff
path: root/svx/source/dialog/grfflt.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/dialog/grfflt.cxx')
-rw-r--r--svx/source/dialog/grfflt.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/dialog/grfflt.cxx b/svx/source/dialog/grfflt.cxx
index 88489955c4f2..25e82dea2b97 100644
--- a/svx/source/dialog/grfflt.cxx
+++ b/svx/source/dialog/grfflt.cxx
@@ -41,8 +41,8 @@ sal_uIntPtr SvxGraphicFilter::ExecuteGrfFilterSlot( SfxRequest& rReq, GraphicObj
if( rGraphic.GetType() == GRAPHIC_BITMAP )
{
SfxViewFrame* pViewFrame = SfxViewFrame::Current();
- SfxObjectShell* pShell = pViewFrame ? pViewFrame->GetObjectShell() : NULL;
- vcl::Window* pWindow = ( pViewFrame && pViewFrame->GetViewShell() ) ? pViewFrame->GetViewShell()->GetWindow() : NULL;
+ SfxObjectShell* pShell = pViewFrame ? pViewFrame->GetObjectShell() : nullptr;
+ vcl::Window* pWindow = ( pViewFrame && pViewFrame->GetViewShell() ) ? pViewFrame->GetViewShell()->GetWindow() : nullptr;
Graphic aGraphic;
switch( rReq.GetSlot() )