mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-10 10:42:19 +00:00
Fixed: removed erroneous call to sizeValue (#2589)
This commit is contained in:
1 parent
5f94d0a5c2
commit
f18012d07b
1 file changed
+4
-6
@@ -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
|
||||
Reference in new issue
Block a user