diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:14:16 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:31:24 +0100 |
commit | 217f7f236fd0ef0535cf11de35807bc5f1de9bb6 (patch) | |
tree | f49d8a62e6500bd025853388b5dd9d33de357b9a /include/editeng/borderline.hxx | |
parent | 6bab3811c374e3185ea07e7cb0d08f8b90ef81aa (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: I9fe00eef7ddcd4a3c87e497a8d62f98e71a0d6d8
Diffstat (limited to 'include/editeng/borderline.hxx')
-rw-r--r-- | include/editeng/borderline.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/editeng/borderline.hxx b/include/editeng/borderline.hxx index 5fbe55f3f60e..3e23250c2a69 100644 --- a/include/editeng/borderline.hxx +++ b/include/editeng/borderline.hxx @@ -69,13 +69,13 @@ namespace editeng { Color (*m_pColorGapFn)( Color ); public: - SvxBorderLine( const Color *pCol = 0, + SvxBorderLine( const Color *pCol = nullptr, long nWidth = 0, SvxBorderStyle nStyle = css::table::BorderLineStyle::SOLID, bool bUseLeftTop = false, Color (*pColorOutFn)( Color ) = &darkColor, Color (*pColorInFn)( Color ) = &darkColor, - Color (*pColorGapFn)( Color ) = NULL ); + Color (*pColorGapFn)( Color ) = nullptr ); SvxBorderLine( const SvxBorderLine& r ); SvxBorderLine& operator=( const SvxBorderLine& r ); @@ -83,7 +83,7 @@ namespace editeng { const Color& GetColor() const { return aColor; } Color GetColorOut( bool bLeftOrTop = true ) const; Color GetColorIn( bool bLeftOrTop = true ) const; - bool HasGapColor() const { return m_pColorGapFn != NULL; } + bool HasGapColor() const { return m_pColorGapFn != nullptr; } Color GetColorGap() const; void SetWidth( long nWidth = 0 ); |