summaryrefslogtreecommitdiff
path: root/include/svtools/ruler.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:25:17 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:48 +0100
commit28f4bee7bd7378141d8569186162e1a3166eb012 (patch)
tree97cb855eec76da937068cda5c5f0f7d5bcd61e47 /include/svtools/ruler.hxx
parentbf057fab3c0d17bf2832c8d9fc6d34b1b859e660 (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I7fc4b4d5c895f241cfb052b009e943e073f3befe
Diffstat (limited to 'include/svtools/ruler.hxx')
-rw-r--r--include/svtools/ruler.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/svtools/ruler.hxx b/include/svtools/ruler.hxx
index a5d38f05bbb9..5e2ee847c89c 100644
--- a/include/svtools/ruler.hxx
+++ b/include/svtools/ruler.hxx
@@ -762,7 +762,7 @@ public:
RulerSelection GetHoverSelection() const { return maHoverSelection; }
using Window::GetType;
- RulerType GetType( const Point& rPos, sal_uInt16* pAryPos = NULL );
+ RulerType GetType( const Point& rPos, sal_uInt16* pAryPos = nullptr );
void SetNullOffset( long nPos );
long GetNullOffset() const;
@@ -775,11 +775,11 @@ public:
void SetLeftFrameMargin( long nPos );
void SetRightFrameMargin( long nPos );
- void SetLines( sal_uInt32 n = 0, const RulerLine* pLineAry = NULL );
- void SetBorders( sal_uInt32 n = 0, const RulerBorder* pBrdAry = NULL );
- void SetIndents( sal_uInt32 n = 0, const RulerIndent* pIndentAry = NULL );
+ void SetLines( sal_uInt32 n = 0, const RulerLine* pLineAry = nullptr );
+ void SetBorders( sal_uInt32 n = 0, const RulerBorder* pBrdAry = nullptr );
+ void SetIndents( sal_uInt32 n = 0, const RulerIndent* pIndentAry = nullptr );
- void SetTabs( sal_uInt32 n = 0, const RulerTab* pTabAry = NULL );
+ void SetTabs( sal_uInt32 n = 0, const RulerTab* pTabAry = nullptr );
static void DrawTab(vcl::RenderContext& rRenderContext, const Color &rFillColor,
const Point& rPos, sal_uInt16 nStyle);