diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2018-11-03 14:55:29 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2018-11-03 14:13:57 +0100 |
commit | 2a3f5d11522cd69f0ce221cde3a63b7e85e94b53 (patch) | |
tree | 51a9483a42769f64fff5b329af6604cdf5a5f7ff /sc | |
parent | e73bf95c00168bbf7d312cd11c40d0581ebd928e (diff) |
tdf#120703 PVS: V547 Expression is always true/false
Change-Id: I856345576ff5c10a41509a97ad4539272bd55568
Reviewed-on: https://gerrit.libreoffice.org/62803
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/unoobj/cellsuno.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx index 919533227a82..a3531af7249c 100644 --- a/sc/source/ui/unoobj/cellsuno.cxx +++ b/sc/source/ui/unoobj/cellsuno.cxx @@ -8417,8 +8417,7 @@ void ScTableSheetObj::GetOnePropertyValue( const SfxItemPropertySimpleEntry* pEn else if ( pEntry->nWID == SC_WID_UNO_CODENAME ) { OUString aCodeName; - if ( pDocSh ) - pDocSh->GetDocument().GetCodeName( GetTab_Impl(), aCodeName ); + pDocSh->GetDocument().GetCodeName(GetTab_Impl(), aCodeName); rAny <<= aCodeName; } else if (pEntry->nWID == SC_WID_UNO_CONDFORMAT) |