svg_loader: handle the exception properly. 77/289177/1
authorHermet Park <hermetpark@gmail.com>
Mon, 21 Feb 2022 02:28:02 +0000 (11:28 +0900)
committerMichal Szczecinski <m.szczecinsk@partner.samsung.com>
Thu, 2 Mar 2023 08:12:18 +0000 (09:12 +0100)
commitae7cb5492efed969b967817bc19588a7a7dd8aa1
tree6512f3386c0a2bf0a881fdb11ed39b6336dc013b
parent854b0264038133eb48ce9514040189d2884feb94
svg_loader: handle the exception properly.

viewBox doesn't expect the missing attributes,
it won't have any default values.

So we can decide the fault when the values are missed.

Change-Id: I99a1e97d6d5bd569cf53d1eca2d4d4905a69e08b
src/loaders/svg/tvgSvgLoader.cpp