summaryrefslogtreecommitdiff
path: root/cui/source/tabpages/transfrm.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-03-21 09:22:23 +0000
committerCaolán McNamara <caolanm@redhat.com>2018-03-21 12:07:43 +0100
commit0330a03e41610b6298c3f588180783f86e730b0b (patch)
treece0735dd0268ea656f861e38994adc5213c6833d /cui/source/tabpages/transfrm.cxx
parentffc525e348cd497f73d7c0abbff8499d52540e3f (diff)
coverity#1430232 Dereference before null check
Change-Id: If15fe7c5f523a1c29a3d399a7b072180f9642439 Reviewed-on: https://gerrit.libreoffice.org/51694 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui/source/tabpages/transfrm.cxx')
-rw-r--r--cui/source/tabpages/transfrm.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/cui/source/tabpages/transfrm.cxx b/cui/source/tabpages/transfrm.cxx
index bb95a7ca5153..226947059a7b 100644
--- a/cui/source/tabpages/transfrm.cxx
+++ b/cui/source/tabpages/transfrm.cxx
@@ -665,11 +665,6 @@ void SvxSlantTabPage::Reset(const SfxItemSet* rAttrs)
while(true)
{
- if(nullptr == pView)
- {
- break;
- }
-
if(1 != pView->GetMarkedObjectList().GetMarkCount())
{
break;