From a7ec357a72f718a05a6a9545e05b328e67675058 Mon Sep 17 00:00:00 2001 From: Lu Wang Date: Mon, 13 Aug 2012 22:20:38 +0800 Subject: [PATCH] clean code --- src/HTMLRenderer.h | 2 +- src/pdftohtmlEX.cc | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/HTMLRenderer.h b/src/HTMLRenderer.h index 0664031..f485971 100644 --- a/src/HTMLRenderer.h +++ b/src/HTMLRenderer.h @@ -94,7 +94,7 @@ class HTMLRenderer : public OutputDev virtual void drawImage(GfxState * state, Object * ref, Stream * str, int width, int height, GfxImageColorMap * colorMap, GBool interpolate, int *maskColors, GBool inlineImg); - private: + protected: void close_cur_line(); // return the mapped font name diff --git a/src/pdftohtmlEX.cc b/src/pdftohtmlEX.cc index 2abea15..9986a43 100644 --- a/src/pdftohtmlEX.cc +++ b/src/pdftohtmlEX.cc @@ -18,14 +18,14 @@ #include -#include "Object.h" -#include "PDFDoc.h" -#include "PDFDocFactory.h" -#include "HTMLRenderer.h" -#include "GlobalParams.h" -#include "Error.h" -#include "DateInfo.h" +#include +#include +#include +#include +#include +#include +#include "HTMLRenderer.h" #include "Param.h" #define PDFTOHTMLEX_VERSION "0.1"