1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 04:50:09 +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:
Imp * imp;
class Matrix_less
struct Matrix_less
{
public:
bool operator () (const Matrix & m1, const Matrix & m2) const
{
// Note that we only care about the first 4 elements
@ -180,9 +179,8 @@ public:
protected:
Imp * imp;
class Color_hash
struct Color_hash
{
public:
size_t operator () (const Color & color) const
{
if(color.transparent)

View File

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

View File

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