Fix a couple build warnings.

This commit is contained in:
slamm%netscape.com 1999-09-15 19:17:37 +00:00
parent 5c5a96d0bb
commit 8f458e9693

View File

@ -77,7 +77,7 @@ NS_NewSliderFrame ( nsIFrame** aNewFrame)
} // NS_NewSliderFrame
nsSliderFrame::nsSliderFrame()
:mScrollbarListener(nsnull), mCurPos(0)
: mCurPos(0), mScrollbarListener(nsnull)
{
}
@ -198,8 +198,8 @@ nsSliderFrame::AttributeChanged(nsIPresContext* aPresContext,
aPresContext->GetShell(getter_AddRefs(shell));
nsCOMPtr<nsIReflowCommand> reflowCmd;
nsresult rv = NS_NewHTMLReflowCommand(getter_AddRefs(reflowCmd), this,
nsIReflowCommand::StyleChanged);
rv = NS_NewHTMLReflowCommand(getter_AddRefs(reflowCmd), this,
nsIReflowCommand::StyleChanged);
if (NS_SUCCEEDED(rv))
shell->AppendReflowCommand(reflowCmd);
}