summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-01-14 20:29:00 +0000
committerCaolán McNamara <caolanm@redhat.com>2020-01-14 22:16:38 +0100
commit40887f38441e8e3371e80773c5bac2a5a22854ed (patch)
tree89afacc8c3856ad34f053b02b6397277a5578140
parenta0b220b3a6946e54136c47acab587c3993dae6fa (diff)
ofz#20087 Invalid-enum-value
Change-Id: I32966a6b3973a0db9e186260225ded216607efbc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86809 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--filter/source/msfilter/msdffimp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx
index cea6d7168b85..7b5142788b08 100644
--- a/filter/source/msfilter/msdffimp.cxx
+++ b/filter/source/msfilter/msdffimp.cxx
@@ -4816,7 +4816,7 @@ SdrObject* SvxMSDffManager::ImportShape( const DffRecordHeader& rHd, SvStream& r
pRet->SetMergedItemSet(aSet);
// connectors
- MSO_ConnectorStyle eConnectorStyle = static_cast<MSO_ConnectorStyle>(GetPropertyValue( DFF_Prop_cxstyle, mso_cxstyleStraight ));
+ auto eConnectorStyle = GetPropertyValue(DFF_Prop_cxstyle, mso_cxstyleStraight);
static_cast<SdrEdgeObj*>(pRet)->ConnectToNode(true, nullptr);
static_cast<SdrEdgeObj*>(pRet)->ConnectToNode(false, nullptr);