Fixed: removed erroneous call to sizeValue (#2589)

This commit is contained in:
daboe01
2018-03-05 10:36:22 +01:00
committed by Martin Carlberg
parent 5f94d0a5c2
commit f18012d07b
+4 -6
View File
@@ -1,5 +1,5 @@
/*
RTFProducer.j
_CPRTFProducer.j
Serialize CPAttributedString to a RTF String
@@ -189,11 +189,9 @@ function _points2twips(a) { return (a) * 20.0; }
if (val)
{
var size = [val sizeValue];
detail = [CPString stringWithFormat:@"\\paperw%d \\paperh%d",
_points2twips(size.width),
_points2twips(size.height)];
_points2twips(val.width),
_points2twips(val.height)];
result += detail;
}
@@ -612,4 +610,4 @@ function _points2twips(a) { return (a) * 20.0; }
output += trailerString;
return output;
}
@end
@end