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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Wed Jun 24 14:00:20 UTC 2020


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

New commits:
commit 0c34e7b8b1fe394e8f730c13bfa31e5f8000d095
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Jun 24 12:12:15 2020 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed Jun 24 15:59:43 2020 +0200

    ofz#23684 Invalid-enum-value
    
    Change-Id: Ie92b336adcf3734352c02742cf0eb249cfec774b
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97023
    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 e15ad6d209c8..aafb9d10755a 100644
--- a/filter/source/msfilter/msdffimp.cxx
+++ b/filter/source/msfilter/msdffimp.cxx
@@ -3764,7 +3764,7 @@ SdrObject* SvxMSDffManager::ImportGraphic( SvStream& rSt, SfxItemSet& rSet, cons
     OUString    aLinkFileName, aLinkFilterName;
     tools::Rectangle   aVisArea;
 
-    MSO_BlipFlags eFlags = static_cast<MSO_BlipFlags>(GetPropertyValue( DFF_Prop_pibFlags, mso_blipflagDefault ));
+    auto eFlags = GetPropertyValue(DFF_Prop_pibFlags, mso_blipflagDefault);
     sal_uInt32 nBlipId = GetPropertyValue( DFF_Prop_pib, 0 );
     bool bGrfRead = false,
 


More information about the Libreoffice-commits mailing list