From 780f14d551fbfb791efe202a1db9eafd95adfce0 Mon Sep 17 00:00:00 2001 From: "kipp%netscape.com" Date: Wed, 14 Jul 1999 17:30:22 +0000 Subject: [PATCH] Removed compiler warnings --- layout/generic/nsTextFrame.cpp | 2 -- layout/html/base/src/nsTextFrame.cpp | 2 -- 2 files changed, 4 deletions(-) diff --git a/layout/generic/nsTextFrame.cpp b/layout/generic/nsTextFrame.cpp index 4146f3e3cf4..67b345f3386 100644 --- a/layout/generic/nsTextFrame.cpp +++ b/layout/generic/nsTextFrame.cpp @@ -2265,7 +2265,6 @@ nsTextFrame::HandleMultiplePress(nsIPresContext& aPresContext, nsCOMPtr shell; nsresult rv = aPresContext.GetShell(getter_AddRefs(shell)); - nsInputEvent *inputEvent = (nsInputEvent *)aEvent; if (NS_SUCCEEDED(rv) && shell) { nsCOMPtr acx; nsCOMPtr tracker; @@ -2275,7 +2274,6 @@ nsTextFrame::HandleMultiplePress(nsIPresContext& aPresContext, rv = shell->CreateRenderingContext(this, getter_AddRefs(acx)); if (NS_SUCCEEDED(rv)){ PRInt32 startPos = 0; - PRUint32 contentOffset = 0; PRInt32 contentOffsetEnd = 0; nsCOMPtr newContent; if (NS_SUCCEEDED(GetPosition(aPresContext, aEvent->point.x, diff --git a/layout/html/base/src/nsTextFrame.cpp b/layout/html/base/src/nsTextFrame.cpp index 4146f3e3cf4..67b345f3386 100644 --- a/layout/html/base/src/nsTextFrame.cpp +++ b/layout/html/base/src/nsTextFrame.cpp @@ -2265,7 +2265,6 @@ nsTextFrame::HandleMultiplePress(nsIPresContext& aPresContext, nsCOMPtr shell; nsresult rv = aPresContext.GetShell(getter_AddRefs(shell)); - nsInputEvent *inputEvent = (nsInputEvent *)aEvent; if (NS_SUCCEEDED(rv) && shell) { nsCOMPtr acx; nsCOMPtr tracker; @@ -2275,7 +2274,6 @@ nsTextFrame::HandleMultiplePress(nsIPresContext& aPresContext, rv = shell->CreateRenderingContext(this, getter_AddRefs(acx)); if (NS_SUCCEEDED(rv)){ PRInt32 startPos = 0; - PRUint32 contentOffset = 0; PRInt32 contentOffsetEnd = 0; nsCOMPtr newContent; if (NS_SUCCEEDED(GetPosition(aPresContext, aEvent->point.x,