]> granicus.if.org Git - graphviz/commit
visio plugin: manage _chars member of Text as a value instead of a pointer
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 8 Apr 2021 00:39:33 +0000 (17:39 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 17 Apr 2021 23:07:40 +0000 (16:07 -0700)
commita6dbc48af2d57b4cb4ee509897a2768c5baaf634
tree97ff069a428f71c1fb47f4b380b53d249bfb2532
parent3b9a01eefba638d7c4254d13909b3c0c90606ed7
visio plugin: manage _chars member of Text as a value instead of a pointer

This member is never set to NULL and the Char class is not involved in any
inheritance hierarchy. So there is no need to heap-allocate it or pass it around
by pointer.
plugin/visio/VisioText.cpp
plugin/visio/VisioText.h