summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/lnkbase2.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-10-14 16:53:11 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-10-16 14:18:01 +0000
commit918d85a82d6535932118247a7fb754dde9f49cd1 (patch)
tree70bcc4d9200df0c306fdd12fb4cb80e51297b1af /sfx2/source/appl/lnkbase2.cxx
parent71901bfedd9f0f6f31be8a9ff54253d56c10b5f3 (diff)
clang-cl loplugin: sfx2
Change-Id: Ided50d3573a40d50bb980ccba78de7129c42cffd Reviewed-on: https://gerrit.libreoffice.org/29852 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sfx2/source/appl/lnkbase2.cxx')
-rw-r--r--sfx2/source/appl/lnkbase2.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/appl/lnkbase2.cxx b/sfx2/source/appl/lnkbase2.cxx
index d09823a74625..fd0d8fb21e30 100644
--- a/sfx2/source/appl/lnkbase2.cxx
+++ b/sfx2/source/appl/lnkbase2.cxx
@@ -152,7 +152,7 @@ SvBaseLink::SvBaseLink( SfxLinkUpdateMode nUpdateMode, SotClipboardFormatId nCon
static DdeTopic* FindTopic( const OUString & rLinkName, sal_uInt16* pItemStt )
{
if( rLinkName.isEmpty() )
- return 0;
+ return nullptr;
OUString sNm( rLinkName );
sal_Int32 nTokenPos = 0;
@@ -178,7 +178,7 @@ static DdeTopic* FindTopic( const OUString & rLinkName, sal_uInt16* pItemStt )
break;
}
}
- return 0;
+ return nullptr;
}
SvBaseLink::SvBaseLink( const OUString& rLinkName, sal_uInt16 nObjectType, SvLinkSource* pObj )