~ubuntu-branches/ubuntu/quantal/poppler/quantal-proposed

« back to all changes in this revision

Viewing changes to utils/pdfseparate.cc

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher
  • Date: 2012-01-16 19:03:32 UTC
  • mfrom: (1.7.2)
  • Revision ID: package-import@ubuntu.com-20120116190332-ffxz23fiqqu4g3nc
Tags: 0.18.3-0ubuntu1
New upstream version

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
//
5
5
// This file is licensed under the GPLv2 or later
6
6
//
7
 
// Copyright (C) 2011 Thomas Freitag <Thomas.Freitag@alfa.de>
 
7
// Copyright (C) 2011, 2012 Thomas Freitag <Thomas.Freitag@alfa.de>
8
8
//
9
9
//========================================================================
10
10
#include "config.h"
17
17
#include "goo/GooString.h"
18
18
#include "PDFDoc.h"
19
19
#include "ErrorCodes.h"
 
20
#include "GlobalParams.h"
20
21
 
21
22
static int firstPage = 0;
22
23
static int lastPage = 0;
107
108
        exitCode = 0;
108
109
      goto err0;
109
110
    }
 
111
  globalParams = new GlobalParams();
110
112
  extractPages (argv[1], argv[2]);
 
113
  delete globalParams;
111
114
 
112
115
err0:
113
116