summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2019-02-08 17:41:36 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2019-02-11 07:08:50 +0100
commit30c0134cd31c1409c374b9b0b38d2f2ac2f4bd03 (patch)
tree5b5db3b64e6b9d601a508cdb427e2ca990fa72f2 /sd
parent04c1a98c10a24e65c4460d198c4009dc512c44ab (diff)
tdf#120703 PVS: V560 A part of conditional expression is always true/false
Change-Id: I4449fead67459bdcbdc0e9320129e7a5b36aecd9 Reviewed-on: https://gerrit.libreoffice.org/67545 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/view/ViewShellImplementation.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/view/ViewShellImplementation.cxx b/sd/source/ui/view/ViewShellImplementation.cxx
index 3f76080e9293..08fe5dbc8505 100644
--- a/sd/source/ui/view/ViewShellImplementation.cxx
+++ b/sd/source/ui/view/ViewShellImplementation.cxx
@@ -211,7 +211,7 @@ void ViewShell::Implementation::ProcessModifyPageSlot (
bool bSetModified = true;
- if (pArgs && pArgs->Count() == 1)
+ if (pArgs->Count() == 1)
{
bSetModified = static_cast<const SfxBoolItem&>(pArgs->Get(SID_MODIFYPAGE)).GetValue();
}