--- src/kernel/cpagechanges.cc.orig 2009-04-06 15:24:59 UTC +++ src/kernel/cpagechanges.cc @@ -50,7 +50,7 @@ void CPageChanges::displayChange (::OutputDev& out, const Container& cont) const { - shared_ptr fakeDict (IProperty::getSmartCObjectPtr(_page->getDictionary()->clone())); + boost::shared_ptr fakeDict (IProperty::getSmartCObjectPtr(_page->getDictionary()->clone())); assert (fakeDict); CPageContents::setContents (fakeDict, cont); @@ -66,7 +66,7 @@ CPageChanges::displayChange (::OutputDev // Display page using our dictionary _page->display()->displayPage (out, fakeDict); } -template void CPageChanges::displayChange > > (::OutputDev& out, const vector >& cont) const; +template void CPageChanges::displayChange > > (::OutputDev& out, const vector >& cont) const; // @@ -87,10 +87,10 @@ CPageChanges::displayChange (::OutputDev // // // -shared_ptr +boost::shared_ptr CPageChanges::getChange (size_t nthchange) const { - typedef vector > CCs; + typedef vector > CCs; CCs ccs; getChanges (ccs); @@ -122,9 +122,9 @@ namespace { */ struct ccs_change_sorter { - bool operator() (shared_ptr frst, shared_ptr scnd) + bool operator() (boost::shared_ptr frst, boost::shared_ptr scnd) { - typedef vector > Ops; + typedef vector > Ops; static const bool FIRST_IS_OUR_LAST = true; static const bool SECOND_IS_OUR_LAST = false; @@ -163,7 +163,7 @@ CPageChanges::getChanges (Changes& cont) _page->contents()->getContentStreams (ccs); for (CCs::const_iterator it = ccs.begin(); it != ccs.end(); ++it) { - vector > ops; + vector > ops; (*it)->getPdfOperators (ops); // Empty contentstream is not our change if (ops.empty())