aboutsummaryrefslogtreecommitdiffstats
path: root/editors/pdfedit/files/patch-src-tools-pagemetrics.cc
diff options
context:
space:
mode:
Diffstat (limited to 'editors/pdfedit/files/patch-src-tools-pagemetrics.cc')
-rw-r--r--editors/pdfedit/files/patch-src-tools-pagemetrics.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/editors/pdfedit/files/patch-src-tools-pagemetrics.cc b/editors/pdfedit/files/patch-src-tools-pagemetrics.cc
index bc5c3f496d7b..c382322cc563 100644
--- a/editors/pdfedit/files/patch-src-tools-pagemetrics.cc
+++ b/editors/pdfedit/files/patch-src-tools-pagemetrics.cc
@@ -1,6 +1,6 @@
---- src/tools/pagemetrics.cc.orig 2016-06-12 03:48:34.337781000 +0900
-+++ src/tools/pagemetrics.cc 2016-06-12 03:48:53.651846000 +0900
-@@ -48,7 +48,7 @@
+--- src/tools/pagemetrics.cc.orig 2010-04-23 06:58:36 UTC
++++ src/tools/pagemetrics.cc
+@@ -48,7 +48,7 @@ namespace {
struct stm {
static const string name;
@@ -9,7 +9,7 @@
{
if (p.size() < 6) throw std::runtime_error ("too few p params");
page->setTransformMatrix (&p[0]);
-@@ -58,7 +58,7 @@
+@@ -58,7 +58,7 @@ namespace {
struct sr {
static const string name;
@@ -18,7 +18,7 @@
{
if (p.size() < 1) throw std::runtime_error ("too few p params");
page->setRotation ((int)(p[0]));
-@@ -68,7 +68,7 @@
+@@ -68,7 +68,7 @@ namespace {
struct smb {
static const string name;
@@ -27,7 +27,7 @@
{
if (p.size() < 4) throw std::runtime_error ("too few p params");
page->setMediabox (libs::Rectangle (p[0], p[1], p[2], p[3]));
-@@ -131,7 +131,7 @@
+@@ -131,7 +131,7 @@ main(int argc, char ** argv)
return 1;
// open pdf
@@ -36,7 +36,7 @@
// sane values
to = std::min(to, pdf->getPageCount()+1);
-@@ -139,7 +139,7 @@
+@@ -139,7 +139,7 @@ main(int argc, char ** argv)
// now the hard stuff comes
for (unsigned int i = from; i < to; ++i)
{