COMized nsIPresShell and nsIPresContext

git-svn-id: svn://10.0.0.236/trunk@20570 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kipp%netscape.com
1999-02-12 17:45:58 +00:00
parent f15564054f
commit 9b917419dc
310 changed files with 4191 additions and 2990 deletions

View File

@@ -41,7 +41,7 @@ class nsHTMLImageElement : public nsIDOMHTMLImageElement,
{
public:
nsHTMLImageElement(nsIAtom* aTag);
~nsHTMLImageElement();
virtual ~nsHTMLImageElement();
// nsISupports
NS_DECL_ISUPPORTS
@@ -246,7 +246,7 @@ MapAttributesInto(nsIHTMLAttributes* aAttributes,
aContext->GetMutableStyleData(eStyleStruct_Spacing);
float p2t;
aPresContext->GetScaledPixelsToTwips(p2t);
aPresContext->GetScaledPixelsToTwips(&p2t);
nsStyleCoord three(NSIntPixelsToTwips(3, p2t));
switch (align) {
case NS_STYLE_TEXT_ALIGN_LEFT: