summaryrefslogtreecommitdiff
path: root/include/tools/multisel.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:26:25 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:54 +0100
commit1c4f33b5d8ba6a8cebb0235bb2e7e37e33045a5b (patch)
tree80530f50cf36927a1e4f31ad0192077bfb0ecf39 /include/tools/multisel.hxx
parent175e2adfd1677cb83373b0ba47853493f3b77859 (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: Ia5acfb564f913d52cd25b5d64d06b5280b94cb72
Diffstat (limited to 'include/tools/multisel.hxx')
-rw-r--r--include/tools/multisel.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/tools/multisel.hxx b/include/tools/multisel.hxx
index 3a8c75287865..3b6dafc3643f 100644
--- a/include/tools/multisel.hxx
+++ b/include/tools/multisel.hxx
@@ -101,7 +101,7 @@ class TOOLS_DLLPUBLIC StringRangeEnumerator
bool setRange( const OUString& i_rNewRange, bool i_bStrict = false );
bool insertRange( sal_Int32 nFirst, sal_Int32 nLast, bool bSequence, bool bMayAdjust );
bool insertJoinedRanges( const std::vector< sal_Int32 >& rNumbers, bool i_bStrict );
- bool checkValue( sal_Int32, const std::set< sal_Int32 >* i_pPossibleValues = NULL ) const;
+ bool checkValue( sal_Int32, const std::set< sal_Int32 >* i_pPossibleValues = nullptr ) const;
public:
class TOOLS_DLLPUBLIC Iterator
{
@@ -119,7 +119,7 @@ public:
, nRangeIndex( i_nRange ), nCurrent( i_nCurrent ) {}
public:
- Iterator() : pEnumerator( NULL ), pPossibleValues( NULL ), nRangeIndex( -1 ), nCurrent( -1 ) {}
+ Iterator() : pEnumerator( nullptr ), pPossibleValues( nullptr ), nRangeIndex( -1 ), nCurrent( -1 ) {}
Iterator& operator++();
sal_Int32 operator*() const { return nCurrent;}
bool operator==(const Iterator&) const;
@@ -136,11 +136,11 @@ public:
);
sal_Int32 size() const { return mnCount; }
- Iterator begin( const std::set< sal_Int32 >* i_pPossibleValues = NULL ) const;
- Iterator end( const std::set< sal_Int32 >* i_pPossibleValues = NULL ) const;
+ Iterator begin( const std::set< sal_Int32 >* i_pPossibleValues = nullptr ) const;
+ Iterator end( const std::set< sal_Int32 >* i_pPossibleValues = nullptr ) const;
bool isValidInput() const { return mbValidInput; }
- bool hasValue( sal_Int32 nValue, const std::set< sal_Int32 >* i_pPossibleValues = NULL ) const;
+ bool hasValue( sal_Int32 nValue, const std::set< sal_Int32 >* i_pPossibleValues = nullptr ) const;
/**
i_rPageRange: the string to be changed into a sequence of numbers
@@ -171,7 +171,7 @@ public:
sal_Int32 i_nMinNumber,
sal_Int32 i_nMaxNumber,
sal_Int32 i_nLogicalOffset = -1,
- std::set< sal_Int32 >* i_pPossibleValues = NULL
+ std::set< sal_Int32 >* i_pPossibleValues = nullptr
);
};