diff options
Diffstat (limited to 'canvas/source/tools/page.hxx')
-rw-r--r-- | canvas/source/tools/page.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/canvas/source/tools/page.hxx b/canvas/source/tools/page.hxx index c456a2983570..f2c3ff054214 100644 --- a/canvas/source/tools/page.hxx +++ b/canvas/source/tools/page.hxx @@ -81,14 +81,14 @@ namespace canvas /// Creates a 'naked' fragment. explicit PageFragment( const ::basegfx::B2ISize& rSize ) : - mpPage(NULL), + mpPage(nullptr), maRect(rSize), mpBuffer(), maSourceOffset() { } - bool isNaked() const { return (mpPage == NULL); } + bool isNaked() const { return (mpPage == nullptr); } const SurfaceRect& getRect() const { return maRect; } const ::basegfx::B2IPoint& getPos() const { return maRect.maPos; } const ::basegfx::B2ISize& getSize() const { return maRect.maSize; } @@ -101,7 +101,7 @@ namespace canvas if(mpPage) mpPage->free(pFragment); - mpPage=NULL; + mpPage=nullptr; } bool select( bool bRefresh ) |