diff options
author | Vort <vvort@yandex.ru> | 2014-11-16 08:02:13 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-11-17 09:23:05 +0000 |
commit | e353ecd3dbbe773f114908a3fd77d4ed460f00ed (patch) | |
tree | d5740a018112a35127a7670203802a40c325b246 | |
parent | 952b968042e51ff3245a81cb6b970863a92fab5f (diff) |
fdo#77268 SVG Import: fix null pointer dereference
Change-Id: I47c591f3d8b61d60f1258db3515c6805bf42304c
Reviewed-on: https://gerrit.libreoffice.org/12472
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | filter/source/svg/svgreader.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/filter/source/svg/svgreader.cxx b/filter/source/svg/svgreader.cxx index e0696f596bda..db506e11616b 100644 --- a/filter/source/svg/svgreader.cxx +++ b/filter/source/svg/svgreader.cxx @@ -1033,6 +1033,9 @@ struct AnnotatingVisitor maGradientStopVector[ maGradientVector.back().maStops.back()].maStopColor ); break; + case XML_TOKEN_INVALID: + SAL_INFO("svg", "unhandled token"); + break; default: SAL_INFO("svg", "unhandled token " << getTokenName(nTokenId)); break; |