[Libreoffice-commits] core.git: filter/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Tue Jan 14 21:17:12 UTC 2020


 filter/source/msfilter/msdffimp.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 40887f38441e8e3371e80773c5bac2a5a22854ed
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Jan 14 20:29:00 2020 +0000
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Jan 14 22:16:38 2020 +0100

    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 at redhat.com>

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);


More information about the Libreoffice-commits mailing list