diff --git a/src/HTMLRenderer/TextLineBuffer.cc b/src/HTMLRenderer/TextLineBuffer.cc index 12461ce..9072f75 100644 --- a/src/HTMLRenderer/TextLineBuffer.cc +++ b/src/HTMLRenderer/TextLineBuffer.cc @@ -29,11 +29,6 @@ using std::endl; using std::find; using std::abs; -void HTMLRenderer::TextLineBuffer::set_pos(GfxState * state) -{ - state->transform(state->getCurX(), state->getCurY(), &x, &y); -} - void HTMLRenderer::TextLineBuffer::append_unicodes(const Unicode * u, int l) { text.insert(text.end(), u, u+l); diff --git a/src/HTMLRenderer/TextLineBuffer.h b/src/HTMLRenderer/TextLineBuffer.h index 6eb8e11..80e7934 100644 --- a/src/HTMLRenderer/TextLineBuffer.h +++ b/src/HTMLRenderer/TextLineBuffer.h @@ -71,7 +71,6 @@ public: double width; }; - void set_pos(GfxState * state); void append_unicodes(const Unicode * u, int l); void append_offset(double width); void append_state(const HTMLState & html_state);