Changeset 58 for trunk/src/IDocument.cxx
- Timestamp:
- 04/14/06 10:13:02 (3 years ago)
- Files:
-
- 1 modified
-
trunk/src/IDocument.cxx (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/IDocument.cxx
r49 r58 127 127 m_Creator = NULL; 128 128 m_CurrentPage = 0; 129 m_ DocumentIndex = new DocumentIndex();129 m_Outline = new DocumentOutline (); 130 130 m_FileName = NULL; 131 131 m_Format = NULL; … … 148 148 IDocument::~IDocument () 149 149 { 150 delete m_ DocumentIndex;150 delete m_Outline; 151 151 g_free (m_Author); 152 152 g_free (m_CreationDate); … … 557 557 558 558 /// 559 /// @brief Get the document's index.560 /// 561 /// @return The top level Document Indexfor this document.562 /// 563 DocumentIndex & 564 IDocument::getDocumentIndex () 565 { 566 g_assert (NULL != m_DocumentIndex && "The document index is NULL."); 567 568 return *(m_DocumentIndex);559 /// @brief Get the document's outline. 560 /// 561 /// @return The top level DocumentOutline for this document. 562 /// The returned object must not be freed, the 563 /// IDocument class will do it. 564 /// 565 DocumentOutline * 566 IDocument::getOutline () 567 { 568 return m_Outline; 569 569 } 570 570
