summaryrefslogtreecommitdiff
path: root/include/sfx2/objface.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:23:17 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:38 +0100
commit28034eaf925aa50d379dd5cffccc20d7edc95aec (patch)
tree5cde1f141bc0ffc5cb04a12980d0c4bce69de0f0 /include/sfx2/objface.hxx
parentd930b6c2e6e3dfb9e1ed19b84a3137cc0cfbfd8c (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I7213b49b09ddcb00841aa5f63343baeab0e65fa4
Diffstat (limited to 'include/sfx2/objface.hxx')
-rw-r--r--include/sfx2/objface.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sfx2/objface.hxx b/include/sfx2/objface.hxx
index 1fe4a08e3aec..d7c1b764d04a 100644
--- a/include/sfx2/objface.hxx
+++ b/include/sfx2/objface.hxx
@@ -104,7 +104,7 @@ inline sal_uInt16 SfxInterface::Count() const
inline SfxSlot* SfxInterface::operator[]( sal_uInt16 nPos ) const
{
- return nPos < nCount? pSlots+nPos: 0;
+ return nPos < nCount? pSlots+nPos: nullptr;
}
#endif