From 868e15ff2de6033b84770778dbde96cf61ad61d2 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Wed, 7 May 2014 08:25:15 +0000 Subject: [PATCH] remove unneeded trailing ';' from lib/redmine/export/pdf.rb git-svn-id: http://svn.redmine.org/redmine/trunk@13132 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/redmine/export/pdf.rb | 20 ++++++++++---------- 1 file 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("<>"); - out('endobj'); + out("<>") + 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