summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-11 13:33:58 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-11 14:33:40 +0000
commit2f2111c31c0721df78b467bf5d4615d6b0ca29b3 (patch)
treeb4e23aa17928c3f1186e50ddb7d24cef1f1d5f8c /svx
parente36605bae4a6c85ec5f96951b802e07af7b54308 (diff)
coverity#1027390 Logically dead code
Change-Id: I996cc37bf95e36ca69d1809882e2d6f9a18e9411
Diffstat (limited to 'svx')
-rw-r--r--svx/source/sidebar/line/LinePropertyPanel.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/sidebar/line/LinePropertyPanel.cxx b/svx/source/sidebar/line/LinePropertyPanel.cxx
index e3b3b5e88079..aef5069c867c 100644
--- a/svx/source/sidebar/line/LinePropertyPanel.cxx
+++ b/svx/source/sidebar/line/LinePropertyPanel.cxx
@@ -529,7 +529,7 @@ void LinePropertyPanel::NotifyItemUpdate(
if(pItem)
{
- mpEndItem.reset(pItem ? (XLineEndItem*)pItem->Clone() : 0);
+ mpEndItem.reset((XLineEndItem*)pItem->Clone());
SelectEndStyle(false);
break;
}