зеркало из https://github.com/mozilla/pjs.git
warning fixes for linux. r: mjudge a: beppe
This commit is contained in:
Родитель
4c96520aae
Коммит
ebdd19b7c4
|
@ -2497,7 +2497,7 @@ nsFrame::GetNextPrevLineFromeBlockFrame(nsIPresContext* aPresContext,
|
|||
lastFrame = firstFrame;
|
||||
for (;lineFrameCount > 1;lineFrameCount --){
|
||||
//result = lastFrame->GetNextSibling(&lastFrame, searchingLine);
|
||||
result = it->GetNextSibling(lastFrame, searchingLine);
|
||||
result = it->GetNextSiblingOnLine(lastFrame, searchingLine);
|
||||
if (NS_FAILED(result)){
|
||||
NS_ASSERTION(0,"should not be reached nsFrame\n");
|
||||
continue;
|
||||
|
|
|
@ -115,7 +115,7 @@ public:
|
|||
|
||||
// Give the line iterator implementor a chance todo something more complicated than
|
||||
// nsIFrame::GetNextSibling()
|
||||
NS_IMETHOD GetNextSibling(nsIFrame*& aFrame, PRInt32 aLineNumber) = 0;
|
||||
NS_IMETHOD GetNextSiblingOnLine(nsIFrame*& aFrame, PRInt32 aLineNumber) = 0;
|
||||
};
|
||||
|
||||
//special line iterator for keyboard navigation
|
||||
|
|
|
@ -769,7 +769,7 @@ nsLineIterator::FindFrameAt(PRInt32 aLineNumber,
|
|||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsLineIterator::GetNextSibling(nsIFrame*& aFrame, PRInt32 aLineNumber)
|
||||
nsLineIterator::GetNextSiblingOnLine(nsIFrame*& aFrame, PRInt32 aLineNumber)
|
||||
{
|
||||
return aFrame->GetNextSibling(&aFrame);
|
||||
}
|
||||
|
|
|
@ -395,7 +395,7 @@ public:
|
|||
PRBool* aXIsBeforeFirstFrame,
|
||||
PRBool* aXIsAfterLastFrame);
|
||||
|
||||
NS_IMETHOD GetNextSibling(nsIFrame*& aFrame, PRInt32 aLineNumber);
|
||||
NS_IMETHOD GetNextSiblingOnLine(nsIFrame*& aFrame, PRInt32 aLineNumber);
|
||||
|
||||
nsresult Init(nsLineBox* aLines, PRBool aRightToLeft);
|
||||
|
||||
|
|
|
@ -2497,7 +2497,7 @@ nsFrame::GetNextPrevLineFromeBlockFrame(nsIPresContext* aPresContext,
|
|||
lastFrame = firstFrame;
|
||||
for (;lineFrameCount > 1;lineFrameCount --){
|
||||
//result = lastFrame->GetNextSibling(&lastFrame, searchingLine);
|
||||
result = it->GetNextSibling(lastFrame, searchingLine);
|
||||
result = it->GetNextSiblingOnLine(lastFrame, searchingLine);
|
||||
if (NS_FAILED(result)){
|
||||
NS_ASSERTION(0,"should not be reached nsFrame\n");
|
||||
continue;
|
||||
|
|
|
@ -115,7 +115,7 @@ public:
|
|||
|
||||
// Give the line iterator implementor a chance todo something more complicated than
|
||||
// nsIFrame::GetNextSibling()
|
||||
NS_IMETHOD GetNextSibling(nsIFrame*& aFrame, PRInt32 aLineNumber) = 0;
|
||||
NS_IMETHOD GetNextSiblingOnLine(nsIFrame*& aFrame, PRInt32 aLineNumber) = 0;
|
||||
};
|
||||
|
||||
//special line iterator for keyboard navigation
|
||||
|
|
|
@ -769,7 +769,7 @@ nsLineIterator::FindFrameAt(PRInt32 aLineNumber,
|
|||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsLineIterator::GetNextSibling(nsIFrame*& aFrame, PRInt32 aLineNumber)
|
||||
nsLineIterator::GetNextSiblingOnLine(nsIFrame*& aFrame, PRInt32 aLineNumber)
|
||||
{
|
||||
return aFrame->GetNextSibling(&aFrame);
|
||||
}
|
||||
|
|
|
@ -395,7 +395,7 @@ public:
|
|||
PRBool* aXIsBeforeFirstFrame,
|
||||
PRBool* aXIsAfterLastFrame);
|
||||
|
||||
NS_IMETHOD GetNextSibling(nsIFrame*& aFrame, PRInt32 aLineNumber);
|
||||
NS_IMETHOD GetNextSiblingOnLine(nsIFrame*& aFrame, PRInt32 aLineNumber);
|
||||
|
||||
nsresult Init(nsLineBox* aLines, PRBool aRightToLeft);
|
||||
|
||||
|
|
|
@ -1818,7 +1818,7 @@ nsTableRowGroupFrame::FindFrameAt(PRInt32 aLineNumber, nscoord aX, nsIFrame** aF
|
|||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsTableRowGroupFrame::GetNextSibling(nsIFrame*& aFrame, PRInt32 aLineNumber)
|
||||
nsTableRowGroupFrame::GetNextSiblingOnLine(nsIFrame*& aFrame, PRInt32 aLineNumber)
|
||||
{
|
||||
NS_ENSURE_ARG_POINTER(aFrame);
|
||||
|
||||
|
|
|
@ -216,7 +216,7 @@ public:
|
|||
PRBool* aXIsBeforeFirstFrame,
|
||||
PRBool* aXIsAfterLastFrame);
|
||||
|
||||
NS_IMETHOD GetNextSibling(nsIFrame*& aFrame, PRInt32 aLineNumber);
|
||||
NS_IMETHOD GetNextSiblingOnLine(nsIFrame*& aFrame, PRInt32 aLineNumber);
|
||||
|
||||
|
||||
protected:
|
||||
|
|
|
@ -1818,7 +1818,7 @@ nsTableRowGroupFrame::FindFrameAt(PRInt32 aLineNumber, nscoord aX, nsIFrame** aF
|
|||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsTableRowGroupFrame::GetNextSibling(nsIFrame*& aFrame, PRInt32 aLineNumber)
|
||||
nsTableRowGroupFrame::GetNextSiblingOnLine(nsIFrame*& aFrame, PRInt32 aLineNumber)
|
||||
{
|
||||
NS_ENSURE_ARG_POINTER(aFrame);
|
||||
|
||||
|
|
|
@ -216,7 +216,7 @@ public:
|
|||
PRBool* aXIsBeforeFirstFrame,
|
||||
PRBool* aXIsAfterLastFrame);
|
||||
|
||||
NS_IMETHOD GetNextSibling(nsIFrame*& aFrame, PRInt32 aLineNumber);
|
||||
NS_IMETHOD GetNextSiblingOnLine(nsIFrame*& aFrame, PRInt32 aLineNumber);
|
||||
|
||||
|
||||
protected:
|
||||
|
|
Загрузка…
Ссылка в новой задаче