diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:25:48 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:31:53 +0100 |
commit | 01b49802c7cda7fd4d5ba71263cef7bc95234b89 (patch) | |
tree | b8d92f1c6abf5ac548d0bcb0c581ebfcffd8bfac /sw/inc/splargs.hxx | |
parent | 6cd7bf2043146a630925a2e49336f02c802f707a (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: I01e11fa956a249974e77dce9deebe79311f098d0
Diffstat (limited to 'sw/inc/splargs.hxx')
-rw-r--r-- | sw/inc/splargs.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/splargs.hxx b/sw/inc/splargs.hxx index f0fc06f3638e..dd1e736fe954 100644 --- a/sw/inc/splargs.hxx +++ b/sw/inc/splargs.hxx @@ -77,7 +77,7 @@ struct SwConversionArgs : SwArgsBase nConvSrcLang( nLang ), nConvTextLang( LANGUAGE_NONE ), nConvTargetLang( LANGUAGE_NONE ), - pTargetFont( NULL ), + pTargetFont( nullptr ), bAllowImplicitChangesForNotConvertibleText( false ) {} }; @@ -137,7 +137,7 @@ public: } const Point *GetCrsrPos() const { - return aCrsrPos.X() || aCrsrPos.Y() ? &aCrsrPos : 0; + return aCrsrPos.X() || aCrsrPos.Y() ? &aCrsrPos : nullptr; } bool IsCheck() const { return bCheck; } void SetCheck( const bool bNew ) { bCheck = bNew; } |