diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:11:47 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:31:19 +0100 |
commit | fb4ce444c2239aa089b0b3c8f4b7629a624edea2 (patch) | |
tree | 518ecd4aeddc5d7b68a8051c66107751b7600451 /include/comphelper/servicehelper.hxx | |
parent | 87a9abf351d1547638ec25c72d7fcb27d1b61440 (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: Ibd0e6ae5e3243464b2484a009f2b4781bdaac471
Diffstat (limited to 'include/comphelper/servicehelper.hxx')
-rw-r--r-- | include/comphelper/servicehelper.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/comphelper/servicehelper.hxx b/include/comphelper/servicehelper.hxx index 3d825b10fadf..622556616fd2 100644 --- a/include/comphelper/servicehelper.hxx +++ b/include/comphelper/servicehelper.hxx @@ -31,7 +31,7 @@ private: public: UnoTunnelIdInit() : m_aSeq(16) { - rtl_createUuid( reinterpret_cast<sal_uInt8*>(m_aSeq.getArray()), 0, sal_True ); + rtl_createUuid( reinterpret_cast<sal_uInt8*>(m_aSeq.getArray()), nullptr, sal_True ); } const css::uno::Sequence< sal_Int8 >& getSeq() const { return m_aSeq; } }; @@ -71,7 +71,7 @@ classname* classname::getImplementation( const uno::Reference< uno::XInterface > if( xUT.is() ) \ return reinterpret_cast<classname*>(sal::static_int_cast<sal_IntPtr>(xUT->getSomething( classname::getUnoTunnelId() ))); \ else \ - return NULL; \ + return nullptr; \ } #define UNO3_GETIMPLEMENTATION_IMPL( classname )\ |