summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-10-22 16:41:35 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-10-22 21:55:36 +0200
commitff65c84450d29207f45354e363ce900dce0b6625 (patch)
tree6fefadf43b74fc478856607afba5936ca0cd8f01 /editeng
parent8cf0b56f1fbca36c86d499e5473c242041ba5183 (diff)
pvs-studio: V581 identical conditional expressions situated alongside
Change-Id: I063bd0dbfe1d7b00e56cd4e01affa5465ae04d9a Reviewed-on: https://gerrit.libreoffice.org/62192 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/editeng/impedit3.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx
index fadb8db0c56f..c4938eb3f075 100644
--- a/editeng/source/editeng/impedit3.cxx
+++ b/editeng/source/editeng/impedit3.cxx
@@ -2695,10 +2695,7 @@ void ImpEditEngine::SeekCursor( ContentNode* pNode, sal_Int32 nPos, SvxFont& rFo
pOut->SetTextLineColor( rTextLineColor.GetColor() );
else
pOut->SetTextLineColor();
- }
- if ( pOut )
- {
const SvxOverlineItem& rOverlineColor = pNode->GetContentAttribs().GetItem( EE_CHAR_OVERLINE );
if ( rOverlineColor.GetColor() != COL_TRANSPARENT )
pOut->SetOverlineColor( rOverlineColor.GetColor() );