summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-05-19 10:26:30 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-19 12:53:42 +0200
commit3d8400a8d938be7b116298d6a79bb49d7cc0cc99 (patch)
treec1ae099e540025c1dfa7e6d62f6f6d9e5ce90c12 /basctl
parent2e51afc77c0800dda6c09bb645d8962ae125b2ba (diff)
loplugin:comparisonwithconstant in accessibility..basegfx
re-running this plugin on these modules now that sberg has improved the plugin. Change-Id: I1818b1fa540cf62b81219a4f3ed2dcae8ff0e838 Reviewed-on: https://gerrit.libreoffice.org/37805 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/dlged/dlgedview.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basctl/source/dlged/dlgedview.cxx b/basctl/source/dlged/dlgedview.cxx
index afb76e242f71..5fe5914746ea 100644
--- a/basctl/source/dlged/dlgedview.cxx
+++ b/basctl/source/dlged/dlgedview.cxx
@@ -129,7 +129,7 @@ SdrObject* impLocalHitCorrection(SdrObject* pRetval, const Point& rPnt, sal_uInt
{
bool bExcludeInner(false);
- if(nullptr != dynamic_cast< DlgEdForm* >(pRetval))
+ if(dynamic_cast< DlgEdForm* >(pRetval) != nullptr)
{
// from DlgEdForm::CheckHit; exclude inner for DlgEdForm
bExcludeInner = true;