diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2014-05-07 08:25:15 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2014-05-07 08:25:15 +0000 |
commit | 868e15ff2de6033b84770778dbde96cf61ad61d2 (patch) | |
tree | c1df673027c79439708f9eafec8eff37b241a53e /lib | |
parent | 1944473eeeb37521b9d3f14b8f2ce443c81a2e29 (diff) | |
download | redmine-868e15ff2de6033b84770778dbde96cf61ad61d2.tar.gz redmine-868e15ff2de6033b84770778dbde96cf61ad61d2.zip |
remove unneeded trailing ';' from lib/redmine/export/pdf.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@13132 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r-- | lib/redmine/export/pdf.rb | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/redmine/export/pdf.rb b/lib/redmine/export/pdf.rb index bd1e64c6e..2b6f0c0d8 100644 --- a/lib/redmine/export/pdf.rb +++ b/lib/redmine/export/pdf.rb @@ -233,9 +233,9 @@ module Redmine #Outline root newobj() @outlineRoot=self.n - out("<</Type /Outlines /First #{n} 0 R"); - out("/Last #{n+lru[0]} 0 R>>"); - out('endobj'); + out("<</Type /Outlines /First #{n} 0 R") + out("/Last #{n+lru[0]} 0 R>>") + out('endobj') end def putresources() @@ -246,8 +246,8 @@ module Redmine def putcatalog() super if(@outlines.size > 0) - out("/Outlines #{@outlineRoot} 0 R"); - out('/PageMode /UseOutlines'); + out("/Outlines #{@outlineRoot} 0 R") + out('/PageMode /UseOutlines') end end end @@ -389,13 +389,13 @@ module Redmine base_x = pdf.GetX base_y = pdf.GetY max_height = issues_to_pdf_write_cells(pdf, query.inline_columns, col_width, row_height, true) - pdf.Rect(base_x, base_y, table_width, max_height, 'FD'); - pdf.SetXY(base_x, base_y); + pdf.Rect(base_x, base_y, table_width, max_height, 'FD') + pdf.SetXY(base_x, base_y) # write the cells on page issues_to_pdf_write_cells(pdf, query.inline_columns, col_width, row_height, true) issues_to_pdf_draw_borders(pdf, base_x, base_y, base_y + max_height, 0, col_width) - pdf.SetY(base_y + max_height); + pdf.SetY(base_y + max_height) # rows pdf.SetFontStyle('',8) @@ -475,7 +475,7 @@ module Redmine # write the cells on page issues_to_pdf_write_cells(pdf, col_values, col_width, row_height) issues_to_pdf_draw_borders(pdf, base_x, base_y, base_y + max_height, 0, col_width) - pdf.SetY(base_y + max_height); + pdf.SetY(base_y + max_height) if query.has_column?(:description) && issue.description? pdf.SetX(10) @@ -504,7 +504,7 @@ module Redmine pdf.RDMMultiCell(col_widths[i], row_height, column, "T", 'L', 1) end max_height = (pdf.GetY - base_y) if (pdf.GetY - base_y) > max_height - pdf.SetXY(col_x + col_widths[i], base_y); + pdf.SetXY(col_x + col_widths[i], base_y) end return max_height end |