[Libreoffice-commits] core.git: Branch 'feature/drawinglayercore' - filter/source
Tomaž Vajngerl (via logerrit)
logerrit at kemper.freedesktop.org
Mon Jul 13 10:23:48 UTC 2020
filter/source/svg/svgwriter.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 6dde057477c70de8960e811a1b24491e088545ec
Author: Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
AuthorDate: Mon Jul 13 12:20:43 2020 +0200
Commit: Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
CommitDate: Mon Jul 13 12:20:43 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
diff --git a/filter/source/svg/svgwriter.cxx b/filter/source/svg/svgwriter.cxx
index 4baddb4743e9..7c6f2a4d8ce8 100644
--- a/filter/source/svg/svgwriter.cxx
+++ b/filter/source/svg/svgwriter.cxx
@@ -3744,13 +3744,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