figure object now does not call analyze.

pull/1/head
Yusuke Shinyama 2011-05-14 14:17:22 +09:00
parent b8d516fc52
commit 095534b294
1 changed files with 0 additions and 2 deletions

View File

@ -47,8 +47,6 @@ class PDFLayoutAnalyzer(PDFTextDevice):
def end_figure(self, _): def end_figure(self, _):
fig = self.cur_item fig = self.cur_item
assert isinstance(self.cur_item, LTFigure) assert isinstance(self.cur_item, LTFigure)
if self.laparams is not None:
self.cur_item.analyze(self.laparams)
self.cur_item = self._stack.pop() self.cur_item = self._stack.pop()
self.cur_item.add(fig) self.cur_item.add(fig)
return return