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 /include/sfx2/objface.hxx | |
parent | d930b6c2e6e3dfb9e1ed19b84a3137cc0cfbfd8c (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: I7213b49b09ddcb00841aa5f63343baeab0e65fa4
Diffstat (limited to 'include/sfx2/objface.hxx')
-rw-r--r-- | include/sfx2/objface.hxx | 2 |
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 |