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

Tomaž Vajngerl (via logerrit) logerrit at kemper.freedesktop.org
Mon Jul 13 17:32:52 UTC 2020


 filter/source/svg/svgwriter.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit fcd0338631bb13a3a8354f6e9265e2cb54c38f25
Author:     Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
AuthorDate: Mon Jul 13 12:20:43 2020 +0200
Commit:     Tomaž Vajngerl <quikee at gmail.com>
CommitDate: Mon Jul 13 19:32:10 2020 +0200

    svgexport: add TEXTLANGUAGE to not supported meta actions
    
    This adds TEXTLANGUAGE to "unsupported" actions, so that it is
    not logged as a warning, when we get a metafile with such action.
    
    Change-Id: I1afb3ce48e4526d7c9e623fe4571b8953f9a8ebb
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98629
    Tested-by: Jenkins
    Reviewed-by: Tomaž Vajngerl <quikee at gmail.com>

diff --git a/filter/source/svg/svgwriter.cxx b/filter/source/svg/svgwriter.cxx
index d46c77ff37ea..ce446a48d92c 100644
--- a/filter/source/svg/svgwriter.cxx
+++ b/filter/source/svg/svgwriter.cxx
@@ -3745,13 +3745,14 @@ void SVGActionWriter::ImplWriteActions( const GDIMetaFile& rMtf,
             case MetaActionType::MASKSCALEPART:
             case MetaActionType::WALLPAPER:
             case MetaActionType::TEXTLINE:
+            case MetaActionType::TEXTLANGUAGE:
             {
                 // !!! >>> we don't want to support these actions
             }
             break;
 
             default:
-                OSL_FAIL( "SVGActionWriter::ImplWriteActions: unsupported MetaAction #" );
+                SAL_WARN("filter.svg", "SVGActionWriter::ImplWriteActions: unsupported MetaAction # "  << sal_Int32(nType));
             break;
         }
     }


More information about the Libreoffice-commits mailing list