diff options
Diffstat (limited to 'lib/axlsx/drawing/title.rb')
| -rw-r--r-- | lib/axlsx/drawing/title.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/axlsx/drawing/title.rb b/lib/axlsx/drawing/title.rb index 7bd41b17..c3ca9632 100644 --- a/lib/axlsx/drawing/title.rb +++ b/lib/axlsx/drawing/title.rb @@ -76,11 +76,11 @@ module Axlsx str << '<c:tx>' if @cell.is_a?(Cell) str << '<c:strRef>' - str << (+'<c:f>' << Axlsx::cell_range([@cell]) << '</c:f>') + str << '<c:f>' << Axlsx::cell_range([@cell]) << '</c:f>' str << '<c:strCache>' str << '<c:ptCount val="1"/>' str << '<c:pt idx="0">' - str << (+'<c:v>' << clean_value << '</c:v>') + str << '<c:v>' << clean_value << '</c:v>' str << '</c:pt>' str << '</c:strCache>' str << '</c:strRef>' @@ -90,8 +90,8 @@ module Axlsx str << '<a:lstStyle/>' str << '<a:p>' str << '<a:r>' - str << (+'<a:rPr sz="' << @text_size.to_s << '"/>') - str << (+'<a:t>' << clean_value << '</a:t>') + str << '<a:rPr sz="' << @text_size.to_s << '"/>' + str << '<a:t>' << clean_value << '</a:t>' str << '</a:r>' str << '</a:p>' str << '</c:rich>' |
