Bug 174055, part 6: eliminate pointless nsresult return values.
This commit is contained in:
@@ -436,8 +436,7 @@ nsMathMLmfracFrame::PlaceInternal(nsRenderingContext& aRenderingContext,
|
||||
nscoord slashRatio = 3;
|
||||
|
||||
// Define the constant used in the expression of the maximum width
|
||||
nscoord em;
|
||||
fm->GetEmHeight(em);
|
||||
nscoord em = fm->EmHeight();
|
||||
nscoord slashMaxWidthConstant = 2 * em;
|
||||
|
||||
// For large line thicknesses the minimum slash height is limited to the
|
||||
@@ -477,8 +476,7 @@ nsMathMLmfracFrame::PlaceInternal(nsRenderingContext& aRenderingContext,
|
||||
numShift += delta;
|
||||
denShift += delta;
|
||||
} else {
|
||||
nscoord xHeight = 0;
|
||||
fm->GetXHeight (xHeight);
|
||||
nscoord xHeight = fm->XHeight();
|
||||
numShift += xHeight / 2;
|
||||
denShift += xHeight / 4;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user