aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v3/odf.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v3/odf.rb')
-rw-r--r--lib/sisu/v3/odf.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/v3/odf.rb b/lib/sisu/v3/odf.rb
index d4d16b1d..807d2832 100644
--- a/lib/sisu/v3/odf.rb
+++ b/lib/sisu/v3/odf.rb
@@ -386,7 +386,7 @@ module SiSU_ODF
end
def footnote(t_o)
str=if defined? t_o.obj then t_o.obj
- elsif t_o.class==String then t_o
+ elsif t_o.is_a?(String) then t_o
end
if str
@astx||=10000
@@ -421,7 +421,7 @@ module SiSU_ODF
end
end
if defined? t_o.obj then t_o.obj=str
- elsif t_o.class==String then t_o=str
+ elsif t_o.is_a?(String) then t_o=str
end
t_o
end