X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Fdocument.h;h=d67b0b20f6e1bf907fc4b011bfd789cdfaed175d;hp=57dbb9da42f7c4dab2192cae179d828898d198d6;hb=326f04a375ce3120f7e8957e3d7cd5f296f513e3;hpb=2d12d37f1657d6aef9bb80d735b6c7022aecba6e diff --git a/src/document.h b/src/document.h index 57dbb9d..d67b0b2 100644 --- a/src/document.h +++ b/src/document.h @@ -94,6 +94,13 @@ namespace IPDF int ClipObjectToQuadChild(int object_id, QuadTreeNodeChildren type); #endif + void ClearObjects() + { + m_count = 0; + m_objects.Clear(); + } + + private: friend class View; Objects m_objects;