mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-19 00:43:29 +00:00
Fixed: removed erroneous call to sizeValue (#2589)
This commit is contained in:
@@ -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