diff options
Diffstat (limited to 'unotools/source/ucbhelper/ucbstreamhelper.cxx')
-rw-r--r-- | unotools/source/ucbhelper/ucbstreamhelper.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/unotools/source/ucbhelper/ucbstreamhelper.cxx b/unotools/source/ucbhelper/ucbstreamhelper.cxx index c2e2149d7c61..11098986f9dc 100644 --- a/unotools/source/ucbhelper/ucbstreamhelper.cxx +++ b/unotools/source/ucbhelper/ucbstreamhelper.cxx @@ -44,7 +44,7 @@ static SvStream* lcl_CreateStream( const OUString& rFileName, StreamMode eOpenMo Reference < XInteractionHandler > xInteractionHandler, UcbLockBytesHandler* pHandler, bool bEnsureFileExists ) { - SvStream* pStream = NULL; + SvStream* pStream = nullptr; Reference< XUniversalContentBroker > ucb( UniversalContentBroker::create( comphelper::getProcessComponentContext() ) ); @@ -160,7 +160,7 @@ SvStream* UcbStreamHelper::CreateStream( const OUString& rFileName, StreamMode e SvStream* UcbStreamHelper::CreateStream( Reference < XInputStream > xStream ) { - SvStream* pStream = NULL; + SvStream* pStream = nullptr; UcbLockBytesRef xLockBytes = UcbLockBytes::CreateInputLockBytes( xStream ); if ( xLockBytes.Is() ) { @@ -174,7 +174,7 @@ SvStream* UcbStreamHelper::CreateStream( Reference < XInputStream > xStream ) SvStream* UcbStreamHelper::CreateStream( Reference < XStream > xStream ) { - SvStream* pStream = NULL; + SvStream* pStream = nullptr; if ( xStream->getOutputStream().is() ) { UcbLockBytesRef xLockBytes = UcbLockBytes::CreateLockBytes( xStream ); @@ -193,7 +193,7 @@ SvStream* UcbStreamHelper::CreateStream( Reference < XStream > xStream ) SvStream* UcbStreamHelper::CreateStream( Reference < XInputStream > xStream, bool bCloseStream ) { - SvStream* pStream = NULL; + SvStream* pStream = nullptr; UcbLockBytesRef xLockBytes = UcbLockBytes::CreateInputLockBytes( xStream ); if ( xLockBytes.Is() ) { @@ -210,7 +210,7 @@ SvStream* UcbStreamHelper::CreateStream( Reference < XInputStream > xStream, boo SvStream* UcbStreamHelper::CreateStream( Reference < XStream > xStream, bool bCloseStream ) { - SvStream* pStream = NULL; + SvStream* pStream = nullptr; if ( xStream->getOutputStream().is() ) { UcbLockBytesRef xLockBytes = UcbLockBytes::CreateLockBytes( xStream ); |