summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2015-01-24 09:38:05 +0100
committerNoel Grandin <noelgrandin@gmail.com>2015-01-24 18:00:47 +0000
commit3bd165efe6f3765d741bc8b7ef350fdea08317f4 (patch)
treed79ed8216dfe2ca8f147cbbe1521de9d48d0129d /extensions
parentac33cafa2e20a26f5af3d4030ae7dd152b2744e7 (diff)
cppcheck: fix redundantPointerOp reports
Change-Id: Ida4bf3bf03d49856eb16329c4f88b9507f330c6f Reviewed-on: https://gerrit.libreoffice.org/14150 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/propctrlr/propertyhandler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/propctrlr/propertyhandler.cxx b/extensions/source/propctrlr/propertyhandler.cxx
index 5c0927f0b4a7..701752aaaf99 100644
--- a/extensions/source/propctrlr/propertyhandler.cxx
+++ b/extensions/source/propctrlr/propertyhandler.cxx
@@ -270,7 +270,7 @@ namespace pcr
FindPropertyByHandle( _nPropId )
);
if ( pFound != m_aSupportedProperties.end() )
- return &(*pFound);
+ return pFound;
return NULL;
}