From 394bb64df05b335530060efa3c401b154aecbd2d Mon Sep 17 00:00:00 2001 From: "mkaply%us.ibm.com" Date: Thu, 18 Sep 2003 18:58:14 +0000 Subject: [PATCH] #219573 r=peterv, sr=bzbarsky Fix from Josh Aas - remove unused variables in nsSelection.cpp git-svn-id: svn://10.0.0.236/trunk@147030 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/content/base/src/nsSelection.cpp | 2 -- mozilla/layout/generic/nsSelection.cpp | 2 -- 2 files changed, 4 deletions(-) diff --git a/mozilla/content/base/src/nsSelection.cpp b/mozilla/content/base/src/nsSelection.cpp index 2103a29cf03..ca75af866e3 100644 --- a/mozilla/content/base/src/nsSelection.cpp +++ b/mozilla/content/base/src/nsSelection.cpp @@ -3087,7 +3087,6 @@ nsSelection::CommonPageMove(PRBool aForward, const nsIView* clipView; //get the frame from the scrollable view - void* clientData; nsIFrame* mainframe = nsnull; // The view's client data points back to its frame @@ -3159,7 +3158,6 @@ nsSelection::CommonPageMove(PRBool aForward, if (caretView) { - nscoord x,y; while (caretView != scrolledView) { caretPos += caretView->GetPosition(); diff --git a/mozilla/layout/generic/nsSelection.cpp b/mozilla/layout/generic/nsSelection.cpp index 2103a29cf03..ca75af866e3 100644 --- a/mozilla/layout/generic/nsSelection.cpp +++ b/mozilla/layout/generic/nsSelection.cpp @@ -3087,7 +3087,6 @@ nsSelection::CommonPageMove(PRBool aForward, const nsIView* clipView; //get the frame from the scrollable view - void* clientData; nsIFrame* mainframe = nsnull; // The view's client data points back to its frame @@ -3159,7 +3158,6 @@ nsSelection::CommonPageMove(PRBool aForward, if (caretView) { - nscoord x,y; while (caretView != scrolledView) { caretPos += caretView->GetPosition();