summaryrefslogtreecommitdiff
path: root/sw/source/ui/misc/redlndlg.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-14 12:47:10 +0200
committerNoel Grandin <noel@peralex.com>2014-02-17 14:04:27 +0200
commit10ca3906500732085a3b055cb8a72bf13de5cae4 (patch)
tree16ea88f87f43c476cb15e3314b5e21a52f6aeefc /sw/source/ui/misc/redlndlg.cxx
parent28ac14c05bb6da292d287f8800929731121004f6 (diff)
cid#705954 dereference before null check
Change-Id: I87ea36fc21b0595b6e4d7b94d89c03e3124dd736
Diffstat (limited to 'sw/source/ui/misc/redlndlg.cxx')
-rw-r--r--sw/source/ui/misc/redlndlg.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/ui/misc/redlndlg.cxx b/sw/source/ui/misc/redlndlg.cxx
index 6f863f4677ea..c2638659f8c4 100644
--- a/sw/source/ui/misc/redlndlg.cxx
+++ b/sw/source/ui/misc/redlndlg.cxx
@@ -413,8 +413,7 @@ void SwRedlineAcceptDlg::Activate()
return;
continue;
}
- if (pBackupData)
- pBackupData = pBackupData->pNext;
+ pBackupData = pBackupData->pNext;
pRedlineData = pRedlineData->Next();
}
}