Initialize variables - regression/left-over from bug 96870 that caused me to spent cycles chasing a non-existent bug elsewhere, carrying forward r=rods, sr=attinasi

This commit is contained in:
rbs%maths.uq.edu.au 2002-02-19 07:30:58 +00:00
parent 42e6cdab5e
commit 60016580a6
2 changed files with 6 additions and 6 deletions

View File

@ -2207,7 +2207,7 @@ nsTextFrame::PaintUnicodeText(nsIPresContext* aPresContext,
{
nsCOMPtr<nsISelectionController> selCon;
nsCOMPtr<nsIPresShell> shell;
PRBool displaySelection,canDarkenColor;
PRBool displaySelection,canDarkenColor=PR_FALSE;
PRBool isPaginated;
PRBool isSelected;
PRInt16 selectionValue;
@ -2891,7 +2891,7 @@ nsTextFrame::PaintTextSlowly(nsIPresContext* aPresContext,
nsCOMPtr<nsISelectionController> selCon;
nsCOMPtr<nsIPresShell> shell;
PRBool displaySelection;
PRBool isPaginated,canDarkenColor;
PRBool isPaginated,canDarkenColor=PR_FALSE;
PRBool isSelected;
PRInt16 selectionValue;
nsCOMPtr<nsILineBreaker> lb;
@ -3067,7 +3067,7 @@ nsTextFrame::PaintAsciiText(nsIPresContext* aPresContext,
nsCOMPtr<nsISelectionController> selCon;
nsCOMPtr<nsIPresShell> shell;
PRBool displaySelection,canDarkenColor;
PRBool displaySelection,canDarkenColor=PR_FALSE;
PRBool isPaginated;
PRBool isSelected;
PRInt16 selectionValue;

View File

@ -2207,7 +2207,7 @@ nsTextFrame::PaintUnicodeText(nsIPresContext* aPresContext,
{
nsCOMPtr<nsISelectionController> selCon;
nsCOMPtr<nsIPresShell> shell;
PRBool displaySelection,canDarkenColor;
PRBool displaySelection,canDarkenColor=PR_FALSE;
PRBool isPaginated;
PRBool isSelected;
PRInt16 selectionValue;
@ -2891,7 +2891,7 @@ nsTextFrame::PaintTextSlowly(nsIPresContext* aPresContext,
nsCOMPtr<nsISelectionController> selCon;
nsCOMPtr<nsIPresShell> shell;
PRBool displaySelection;
PRBool isPaginated,canDarkenColor;
PRBool isPaginated,canDarkenColor=PR_FALSE;
PRBool isSelected;
PRInt16 selectionValue;
nsCOMPtr<nsILineBreaker> lb;
@ -3067,7 +3067,7 @@ nsTextFrame::PaintAsciiText(nsIPresContext* aPresContext,
nsCOMPtr<nsISelectionController> selCon;
nsCOMPtr<nsIPresShell> shell;
PRBool displaySelection,canDarkenColor;
PRBool displaySelection,canDarkenColor=PR_FALSE;
PRBool isPaginated;
PRBool isSelected;
PRInt16 selectionValue;