diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:23:17 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:31:38 +0100 |
commit | 28034eaf925aa50d379dd5cffccc20d7edc95aec (patch) | |
tree | 5cde1f141bc0ffc5cb04a12980d0c4bce69de0f0 /sfx2/source/appl/lnkbase2.cxx | |
parent | d930b6c2e6e3dfb9e1ed19b84a3137cc0cfbfd8c (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: I7213b49b09ddcb00841aa5f63343baeab0e65fa4
Diffstat (limited to 'sfx2/source/appl/lnkbase2.cxx')
-rw-r--r-- | sfx2/source/appl/lnkbase2.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sfx2/source/appl/lnkbase2.cxx b/sfx2/source/appl/lnkbase2.cxx index 8b63ebcb6584..63b3a73291f5 100644 --- a/sfx2/source/appl/lnkbase2.cxx +++ b/sfx2/source/appl/lnkbase2.cxx @@ -51,9 +51,9 @@ struct BaseLink_Impl bool m_bIsConnect; BaseLink_Impl() : - m_pLinkMgr( NULL ) - , m_pParentWin( NULL ) - , m_pFileDlg( NULL ) + m_pLinkMgr( nullptr ) + , m_pParentWin( nullptr ) + , m_pFileDlg( nullptr ) , m_bIsConnect( false ) {} @@ -87,7 +87,7 @@ struct ImplBaseLinkData ClientType.nCntntType = SotClipboardFormatId::NONE; ClientType.bIntrnlLnk = false; ClientType.nUpdateMode = SfxLinkUpdateMode::NONE; - DDEType.pItem = NULL; + DDEType.pItem = nullptr; } }; @@ -596,7 +596,7 @@ DdeData* ImplDdeItem::Get( SotClipboardFormatId nFormat ) } aSeq.realloc( 0 ); bIsValidData = false; - return 0; + return nullptr; } |