Refactor the Text::Controller::ClearFontData. 45/66945/3
authorVictor Cebollada <v.cebollada@samsung.com>
Thu, 21 Apr 2016 14:01:46 +0000 (15:01 +0100)
committerVictor Cebollada <v.cebollada@samsung.com>
Mon, 25 Apr 2016 06:51:26 +0000 (07:51 +0100)
commit55bb6ff17e2a2ad3befea919ee9314e997bc50d0
tree112c045cd86ed2916b5242dd49fd2757017e53c6
parente4ace0da6e0d702b90e5a70d477aa7a0e0f6f44f
Refactor the Text::Controller::ClearFontData.

* This method clears completely some buffers of the model.
  Then the Text::Controller::Impl::ClearModelData may access
  the same buffers out of bounds causing a crash.

Change-Id: I1b50135c707354bd3037aabb63cded10ba2e6f2f
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
dali-toolkit/internal/text/text-controller.cpp