diff options
Diffstat (limited to 'include/comphelper/types.hxx')
-rw-r--r-- | include/comphelper/types.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/comphelper/types.hxx b/include/comphelper/types.hxx index 6901e6c52ded..e01e6f640f8f 100644 --- a/include/comphelper/types.hxx +++ b/include/comphelper/types.hxx @@ -57,19 +57,19 @@ namespace comphelper if (xComp.is()) { xComp->dispose(); - _rxComp = NULL; + _rxComp = nullptr; } } template <class TYPE> bool getImplementation(TYPE*& _pObject, const css::uno::Reference< css::uno::XInterface >& _rxIFace) { - _pObject = NULL; + _pObject = nullptr; css::uno::Reference< css::lang::XUnoTunnel > xTunnel(_rxIFace, css::uno::UNO_QUERY); if (xTunnel.is()) _pObject = reinterpret_cast< TYPE* >(xTunnel->getSomething(TYPE::getUnoTunnelImplementationId())); - return (_pObject != NULL); + return (_pObject != nullptr); } |