summaryrefslogtreecommitdiff
path: root/idl/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:17:16 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:28 +0100
commit85552d865b8dcd059b0eb33c42c8a491f88402e3 (patch)
tree0efcce321d2747553d646d001262eb889592c23b /idl/inc
parent6f66890d143e1c5f8d7b183f8fa2d06b2a0087c8 (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: Ibe4adf92bb8eaf8b093bae87136d3a6a59e856f4
Diffstat (limited to 'idl/inc')
-rw-r--r--idl/inc/basobj.hxx4
-rw-r--r--idl/inc/database.hxx2
-rw-r--r--idl/inc/module.hxx2
-rw-r--r--idl/inc/slot.hxx2
-rw-r--r--idl/inc/types.hxx2
5 files changed, 6 insertions, 6 deletions
diff --git a/idl/inc/basobj.hxx b/idl/inc/basobj.hxx
index b4b9178c557c..4fd69d7cdb4f 100644
--- a/idl/inc/basobj.hxx
+++ b/idl/inc/basobj.hxx
@@ -107,7 +107,7 @@ public:
static void Back2Delemitter( SvStream & );
static void WriteStars( SvStream & );
- virtual bool SetName( const OString& rName, SvIdlDataBase * = NULL );
+ virtual bool SetName( const OString& rName, SvIdlDataBase * = nullptr );
const SvHelpContext& GetHelpContext() const { return aHelpContext; }
virtual const SvString & GetName() const { return aName; }
virtual const SvString & GetHelpText() const { return aHelpText; }
@@ -136,7 +136,7 @@ public:
for( SvMetaObjectMemberList::reverse_iterator it = aList.rbegin(); it != aList.rend(); ++it )
if( isSvMetaObject(*it) )
return *it;
- return NULL;
+ return nullptr;
}
};
diff --git a/idl/inc/database.hxx b/idl/inc/database.hxx
index 4031ddea2ba4..0c385f70821a 100644
--- a/idl/inc/database.hxx
+++ b/idl/inc/database.hxx
@@ -123,7 +123,7 @@ public:
SvMetaType * ReadKnownType( SvTokenStream & rInStm );
SvMetaAttribute * ReadKnownAttr( SvTokenStream & rInStm,
- SvMetaType * pType = NULL );
+ SvMetaType * pType = nullptr );
SvMetaAttribute * SearchKnownAttr( const SvIdentifier& );
SvMetaClass * ReadKnownClass( SvTokenStream & rInStm );
void AddDepFile(OUString const& rFileName);
diff --git a/idl/inc/module.hxx b/idl/inc/module.hxx
index fb93209cfdb4..3855699c5f50 100644
--- a/idl/inc/module.hxx
+++ b/idl/inc/module.hxx
@@ -54,7 +54,7 @@ protected:
public:
TYPEINFO_OVERRIDE();
- virtual bool SetName( const OString& rName, SvIdlDataBase * = NULL ) override;
+ virtual bool SetName( const OString& rName, SvIdlDataBase * = nullptr ) override;
SvMetaModule( bool bImported );
diff --git a/idl/inc/slot.hxx b/idl/inc/slot.hxx
index 91eff6dfdb1e..e24f937a770c 100644
--- a/idl/inc/slot.hxx
+++ b/idl/inc/slot.hxx
@@ -198,7 +198,7 @@ public:
void SetListPos(sal_uLong n)
{ nListPos = n; }
void ResetSlotPointer()
- { pNextSlot = pLinkedSlot = 0; }
+ { pNextSlot = pLinkedSlot = nullptr; }
virtual bool Test( SvIdlDataBase &, SvTokenStream & rInStm ) override;
virtual void ReadAttributesSvIdl( SvIdlDataBase & rBase,
diff --git a/idl/inc/types.hxx b/idl/inc/types.hxx
index 21d0c05ef456..869a45f97e23 100644
--- a/idl/inc/types.hxx
+++ b/idl/inc/types.hxx
@@ -159,7 +159,7 @@ public:
const OString& GetCName() const;
char GetParserChar() const { return cParserChar; }
- virtual bool SetName( const OString& rName, SvIdlDataBase * = NULL ) override;
+ virtual bool SetName( const OString& rName, SvIdlDataBase * = nullptr ) override;
virtual bool ReadSvIdl( SvIdlDataBase &, SvTokenStream & rInStm ) override;