-
Eike Rathke yazdı
* for includes from other modules use <> instead of "", i.e. <boost/ptr_container/ptr_vector.hpp> * use size_t instead of int for container positions and count * no need for DeleteAndDestroy(), in fact delete p followed by ptr_vector::erase() attempted to delete the instance twice and would crash * adapted places that accessed DeleteAndDestroy() to operate on the vector instead * introduced GetDataVector() for that * changed the DeleteOnTab() loop that used DeleteAndDestroy() to properly iterate over the container instead * changed UpdateReference() to a loop using iterator * changed operator==() to use size_t instead of sal_uInt16 * note aside: mixing sal_uInt16 with a container's size isn't a good idea * adapted places that access Count() and GetObject() to use size_t instead of sal_uInt16 * made GetObject() const and return const ScDetOpData* * changed indentation to 4 spaces per level
43aa1115