summaryrefslogtreecommitdiff
path: root/svx/source/sdr/contact/objectcontactofpageview.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:25:28 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:50 +0100
commit6cd7bf2043146a630925a2e49336f02c802f707a (patch)
tree786cecd8ab993e25cda497d45b68007050c30d61 /svx/source/sdr/contact/objectcontactofpageview.cxx
parent28f4bee7bd7378141d8569186162e1a3166eb012 (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I71682f28c6a54d33da6b0c971f34d0a705ff04f5
Diffstat (limited to 'svx/source/sdr/contact/objectcontactofpageview.cxx')
-rw-r--r--svx/source/sdr/contact/objectcontactofpageview.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/sdr/contact/objectcontactofpageview.cxx b/svx/source/sdr/contact/objectcontactofpageview.cxx
index 4786c7a5b8d1..b30c904bb5f1 100644
--- a/svx/source/sdr/contact/objectcontactofpageview.cxx
+++ b/svx/source/sdr/contact/objectcontactofpageview.cxx
@@ -164,7 +164,7 @@ namespace sdr
// #114359# save old and set clip region
OutputDevice* pOutDev = TryToGetOutputDevice();
- OSL_ENSURE(0 != pOutDev, "ObjectContactOfPageView without OutDev, someone has overridden TryToGetOutputDevice wrong (!)");
+ OSL_ENSURE(nullptr != pOutDev, "ObjectContactOfPageView without OutDev, someone has overridden TryToGetOutputDevice wrong (!)");
bool bClipRegionPushed(false);
const vcl::Region& rRedrawArea(rDisplayInfo.GetRedrawArea());
@@ -347,7 +347,7 @@ namespace sdr
return &(GetSdrPage()->GetViewContact());
}
- return 0;
+ return nullptr;
}
// Invalidate given rectangle at the window/output which is represented by
@@ -446,7 +446,7 @@ namespace sdr
// pdf export?
bool ObjectContactOfPageView::isOutputToPDFFile() const
{
- return (0 != mrPageWindow.GetPaintWindow().GetOutputDevice().GetPDFWriter());
+ return (nullptr != mrPageWindow.GetPaintWindow().GetOutputDevice().GetPDFWriter());
}
// gray display mode