diff --git a/svgio/source/svgreader/svgrectnode.cxx b/svgio/source/svgreader/svgrectnode.cxx index 3829f21a678b..90bb2285671e 100644 --- a/svgio/source/svgreader/svgrectnode.cxx +++ b/svgio/source/svgreader/svgrectnode.cxx @@ -183,6 +183,8 @@ namespace svgio::svgreader frX = frY; } + assert(fWidth != 0 && fHeight != 0 && "help coverity see it's not zero"); + frX /= fWidth; frY /= fHeight;