summaryrefslogtreecommitdiff
path: root/sd/source/ui/accessibility/AccessibleViewForwarder.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/accessibility/AccessibleViewForwarder.cxx')
-rw-r--r--sd/source/ui/accessibility/AccessibleViewForwarder.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/accessibility/AccessibleViewForwarder.cxx b/sd/source/ui/accessibility/AccessibleViewForwarder.cxx
index 0a6ed2a76e0d..fa7338bf0ff9 100644
--- a/sd/source/ui/accessibility/AccessibleViewForwarder.cxx
+++ b/sd/source/ui/accessibility/AccessibleViewForwarder.cxx
@@ -74,12 +74,12 @@ Rectangle AccessibleViewForwarder::GetVisibleArea() const
*/
Point AccessibleViewForwarder::LogicToPixel (const Point& rPoint) const
{
- OSL_ASSERT (mpView != NULL);
+ OSL_ASSERT (mpView != nullptr);
if((sal_uInt32)mnWindowId < mpView->PaintWindowCount())
{
SdrPaintWindow* pPaintWindow = mpView->GetPaintWindow((sal_uInt32)mnWindowId);
OutputDevice& rOutDev = pPaintWindow->GetOutputDevice();
- Rectangle aBBox(static_cast<vcl::Window&>(rOutDev).GetWindowExtentsRelative(0L));
+ Rectangle aBBox(static_cast<vcl::Window&>(rOutDev).GetWindowExtentsRelative(nullptr));
return rOutDev.LogicToPixel (rPoint) + aBBox.TopLeft();
}
else
@@ -88,7 +88,7 @@ Point AccessibleViewForwarder::LogicToPixel (const Point& rPoint) const
Size AccessibleViewForwarder::LogicToPixel (const Size& rSize) const
{
- OSL_ASSERT (mpView != NULL);
+ OSL_ASSERT (mpView != nullptr);
if((sal_uInt32)mnWindowId < mpView->PaintWindowCount())
{
SdrPaintWindow* pPaintWindow = mpView->GetPaintWindow((sal_uInt32)mnWindowId);