--- src/kernel/cpage.cc.orig 2009-07-27 08:18:10 UTC +++ src/kernel/cpage.cc @@ -88,9 +88,9 @@ CPage::CPage (boost::shared_ptr& // // Init modules // - _contents = shared_ptr (new CPageContents(this)); + _contents = boost::shared_ptr (new CPageContents(this)); _modules.push_back (_contents); - _display = shared_ptr (new CPageDisplay(this)); + _display = boost::shared_ptr (new CPageDisplay(this)); _modules.push_back (_display); _fonts = boost::shared_ptr (new CPageFonts(this)); _modules.push_back (_fonts); @@ -252,7 +252,7 @@ size_t CPage::getPagePosition () const { if (hasValidPdf (_dict)) - return _dict->getPdf().lock()->getPagePosition (shared_ptr(const_cast(this),EmptyDeallocator ())); + return _dict->getPdf().lock()->getPagePosition (boost::shared_ptr(const_cast(this),EmptyDeallocator ())); throw CObjInvalidOperation (); } @@ -284,9 +284,9 @@ CPage::_objectChanged (bool invalid) // Notify observers if (invalid) - this->notifyObservers (current, shared_ptr ()); + this->notifyObservers (current, boost::shared_ptr ()); else - this->notifyObservers (current, shared_ptr (new BasicObserverContext (current))); + this->notifyObservers (current, boost::shared_ptr (new BasicObserverContext (current))); }