1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-07-05 01:28:39 +00:00
This commit is contained in:
Lu Wang 2013-06-13 18:00:25 +08:00
parent 47267669ce
commit fe96b572ef
3 changed files with 3 additions and 8 deletions

View File

@ -122,9 +122,8 @@ public:
protected: protected:
Imp * imp; Imp * imp;
class Matrix_less struct Matrix_less
{ {
public:
bool operator () (const Matrix & m1, const Matrix & m2) const bool operator () (const Matrix & m1, const Matrix & m2) const
{ {
// Note that we only care about the first 4 elements // Note that we only care about the first 4 elements
@ -180,9 +179,8 @@ public:
protected: protected:
Imp * imp; Imp * imp;
class Color_hash struct Color_hash
{ {
public:
size_t operator () (const Color & color) const size_t operator () (const Color & color) const
{ {
if(color.transparent) if(color.transparent)

View File

@ -16,9 +16,8 @@ namespace pdf2htmlEX {
class StringFormatter class StringFormatter
{ {
public: public:
class GuardedPointer struct GuardedPointer
{ {
public:
GuardedPointer(StringFormatter * sf) : sf(sf) { ++(sf->buf_cnt); } GuardedPointer(StringFormatter * sf) : sf(sf) { ++(sf->buf_cnt); }
GuardedPointer(const GuardedPointer & gp) : sf(gp.sf) { ++(sf->buf_cnt); } GuardedPointer(const GuardedPointer & gp) : sf(gp.sf) { ++(sf->buf_cnt); }
~GuardedPointer(void) { --(sf->buf_cnt); } ~GuardedPointer(void) { --(sf->buf_cnt); }

View File

@ -18,10 +18,8 @@ public:
private: private:
void clean(); void clean();
private:
const Param& param; const Param& param;
std::set<std::string> tmp_files; std::set<std::string> tmp_files;
}; };
} // namespace pdf2htmlEX } // namespace pdf2htmlEX