diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:25:17 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:31:48 +0100 |
commit | 28f4bee7bd7378141d8569186162e1a3166eb012 (patch) | |
tree | 97cb855eec76da937068cda5c5f0f7d5bcd61e47 /svtools/source/misc/embedtransfer.cxx | |
parent | bf057fab3c0d17bf2832c8d9fc6d34b1b859e660 (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: I7fc4b4d5c895f241cfb052b009e943e073f3befe
Diffstat (limited to 'svtools/source/misc/embedtransfer.cxx')
-rw-r--r-- | svtools/source/misc/embedtransfer.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svtools/source/misc/embedtransfer.cxx b/svtools/source/misc/embedtransfer.cxx index bd70919a1063..a0a952388a1c 100644 --- a/svtools/source/misc/embedtransfer.cxx +++ b/svtools/source/misc/embedtransfer.cxx @@ -42,14 +42,14 @@ SvEmbedTransferHelper::SvEmbedTransferHelper( const uno::Reference< embed::XEmbe const Graphic* pGraphic, sal_Int64 nAspect ) : m_xObj( xObj ) -, m_pGraphic( pGraphic ? new Graphic( *pGraphic ) : NULL ) +, m_pGraphic( pGraphic ? new Graphic( *pGraphic ) : nullptr ) , m_nAspect( nAspect ) { if( xObj.is() ) { TransferableObjectDescriptor aObjDesc; - FillTransferableObjectDescriptor( aObjDesc, m_xObj, NULL, m_nAspect ); + FillTransferableObjectDescriptor( aObjDesc, m_xObj, nullptr, m_nAspect ); PrepareOLE( aObjDesc ); } } @@ -61,7 +61,7 @@ SvEmbedTransferHelper::~SvEmbedTransferHelper() if ( m_pGraphic ) { delete m_pGraphic; - m_pGraphic = NULL; + m_pGraphic = nullptr; } } @@ -111,7 +111,7 @@ bool SvEmbedTransferHelper::GetData( const css::datatransfer::DataFlavor& rFlavo { uno::Reference < embed::XStorage > xStg = comphelper::OStorageHelper::GetTemporaryStorage(); OUString aName( "Dummy" ); - SvStream* pStream = NULL; + SvStream* pStream = nullptr; bool bDeleteStream = false; uno::Sequence < beans::PropertyValue > aEmpty; uno::Sequence<beans::PropertyValue> aObjArgs(2); |