Changeset 206 for trunk/src/IDocument.cxx
- Timestamp:
- 06/10/06 06:52:22 (2 years ago)
- Files:
-
- 1 modified
-
trunk/src/IDocument.cxx (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/IDocument.cxx
r201 r206 277 277 IDocument::notifyLoad () 278 278 { 279 // Add the two first pages to the cache.279 // Add the two first pages, if they exists, to the cache. 280 280 addPageToCache (1); 281 addPageToCache (2); 281 if ( 1 < getNumPages () ) 282 { 283 addPageToCache (2); 284 } 282 285 283 286 for ( GList *item = g_list_first (m_Observers) ; NULL != item ; … … 1119 1122 { 1120 1123 m_CurrentPage = pageNum; 1121 1124 1122 1125 addPageToCache (m_CurrentPage); 1123 1126 if ( 1 < m_CurrentPage )
