summaryrefslogtreecommitdiff
path: root/include/typelib
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:12:56 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:20 +0100
commit4730b58d9989512ed25790768ba78decfde7d667 (patch)
tree2d53902a514a0f69a70dc0bc7bebe6d39290e1be /include/typelib
parent311fd06af4e297fa748684a61edd3ee38845c485 (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I17eb40b2923793280ea220e519f97563c8490a19
Diffstat (limited to 'include/typelib')
-rw-r--r--include/typelib/typedescription.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/typelib/typedescription.hxx b/include/typelib/typedescription.hxx
index 2b5e855193dd..26252a344023 100644
--- a/include/typelib/typedescription.hxx
+++ b/include/typelib/typedescription.hxx
@@ -62,7 +62,7 @@ public:
@param pTypeDescr a type description
*/
- inline TypeDescription( typelib_TypeDescription * pTypeDescr = 0 );
+ inline TypeDescription( typelib_TypeDescription * pTypeDescr = NULL );
/** Constructor:
@param pTypeDescrRef a type description reference
@@ -135,7 +135,7 @@ public:
@return true, if a type description is set, false otherwise
*/
inline bool SAL_CALL is() const
- { return (_pTypeDescr != 0); }
+ { return (_pTypeDescr != NULL); }
};
inline TypeDescription::TypeDescription( typelib_TypeDescription * pTypeDescr )
@@ -146,14 +146,14 @@ inline TypeDescription::TypeDescription( typelib_TypeDescription * pTypeDescr )
}
inline TypeDescription::TypeDescription( typelib_TypeDescriptionReference * pTypeDescrRef )
- : _pTypeDescr( 0 )
+ : _pTypeDescr( NULL )
{
if (pTypeDescrRef)
typelib_typedescriptionreference_getDescription( &_pTypeDescr, pTypeDescrRef );
}
inline TypeDescription::TypeDescription( const css::uno::Type & rType )
- : _pTypeDescr( 0 )
+ : _pTypeDescr( NULL )
{
if (rType.getTypeLibType())
typelib_typedescriptionreference_getDescription( &_pTypeDescr, rType.getTypeLibType() );
@@ -167,13 +167,13 @@ inline TypeDescription::TypeDescription( const TypeDescription & rTypeDescr )
}
inline TypeDescription::TypeDescription( rtl_uString * pTypeName )
- : _pTypeDescr( 0 )
+ : _pTypeDescr( NULL )
{
typelib_typedescription_getByName( &_pTypeDescr , pTypeName );
}
inline TypeDescription::TypeDescription( const ::rtl::OUString & rTypeName )
- : _pTypeDescr( 0 )
+ : _pTypeDescr( NULL )
{
typelib_typedescription_getByName( &_pTypeDescr , rTypeName.pData );
}