diff options
Diffstat (limited to 'include/unotools/sharedunocomponent.hxx')
-rw-r--r-- | include/unotools/sharedunocomponent.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/unotools/sharedunocomponent.hxx b/include/unotools/sharedunocomponent.hxx index 0d7921b75a1f..137d1314fbc2 100644 --- a/include/unotools/sharedunocomponent.hxx +++ b/include/unotools/sharedunocomponent.hxx @@ -233,7 +233,7 @@ namespace utl template < class INTERFACE, class COMPONENT > void SharedUNOComponent< INTERFACE, COMPONENT >::reset( const css::uno::Reference< INTERFACE >& _rxComponent, AssignmentMode _eMode ) { - m_xComponent.reset(_eMode == TakeOwnership ? new COMPONENT( _rxComponent ) : NULL); + m_xComponent.reset(_eMode == TakeOwnership ? new COMPONENT( _rxComponent ) : nullptr); m_xTypedComponent = _rxComponent; } |