Initialize all members in clear().

This commit is contained in:
Hermann Kraus 2012-08-01 01:42:50 +02:00
parent b97840660c
commit 21c9a6fcde

View file

@ -195,6 +195,9 @@ void text_layout::clear()
{
itemizer_.clear();
lines_.clear();
width_map_.clear();
width_ = 0.;
height_ = 0.;
}
double text_layout::height() const