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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Fri Oct 9 11:45:39 UTC 2020


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

New commits:
commit 1d7f4d01bd9db38667edd03bb1aa7b66df5d6ada
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Oct 9 09:39:42 2020 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri Oct 9 13:44:56 2020 +0200

    ofz: Invalid-enum-value
    
    Change-Id: I0e96e3f9efb82aedbe9c580b0798bb9b6a7abe5a
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104106
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx
index 5d29ed9a3a4f..8a4db2499371 100644
--- a/filter/source/msfilter/svdfppt.cxx
+++ b/filter/source/msfilter/svdfppt.cxx
@@ -932,7 +932,7 @@ SdrObject* SdrEscherImport::ProcessObj( SvStream& rSt, DffObjData& rObjData, Svx
                     eTHA = SDRTEXTHORZADJUST_BLOCK;
 
                     // read text anchor
-                    MSO_Anchor eTextAnchor = static_cast<MSO_Anchor>(GetPropertyValue( DFF_Prop_anchorText, mso_anchorTop ));
+                    auto eTextAnchor = GetPropertyValue(DFF_Prop_anchorText, mso_anchorTop);
 
                     switch( eTextAnchor )
                     {


More information about the Libreoffice-commits mailing list