blob: a45ea49eb11173cd801fd8ece4fb43c5cd63dd70 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--- src/tools/displaycs.cc.orig 2016-06-12 03:46:15.039573000 +0900
+++ src/tools/displaycs.cc 2016-06-12 03:46:33.669788000 +0900
@@ -74,7 +74,7 @@
size_t from = vm["from"].as<size_t>();
// open pdf
- shared_ptr<CPdf> pdf = CPdf::getInstance (file.c_str(), CPdf::ReadWrite);
+ boost::shared_ptr<CPdf> pdf = CPdf::getInstance (file.c_str(), CPdf::ReadWrite);
// sane values
size_t to = pdf->getPageCount()+1;
@@ -90,8 +90,8 @@
{
std::cout << "=====================" << endl;
std::cout << "PAGE NUMBER " << i << endl;
- shared_ptr<CPage> page = pdf->getPage(i);
- typedef vector<shared_ptr<CContentStream> > CCs;
+ boost::shared_ptr<CPage> page = pdf->getPage(i);
+ typedef vector<boost::shared_ptr<CContentStream> > CCs;
CCs ccs;
page->getContentStreams (ccs);
std::cout << "- parsed" << endl;
|