From fcb6339a9ed77df2eb07e6c4cdbd032d6a791480 Mon Sep 17 00:00:00 2001 From: "cbiesinger%web.de" Date: Sun, 18 Jul 2004 20:57:52 +0000 Subject: [PATCH] removing unused variable, r+sr=bzbarsky git-svn-id: svn://10.0.0.236/trunk@159445 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/content/base/src/nsDocumentViewer.cpp | 2 -- mozilla/layout/base/nsDocumentViewer.cpp | 2 -- 2 files changed, 4 deletions(-) diff --git a/mozilla/content/base/src/nsDocumentViewer.cpp b/mozilla/content/base/src/nsDocumentViewer.cpp index 0267a39805d..77a209c0804 100644 --- a/mozilla/content/base/src/nsDocumentViewer.cpp +++ b/mozilla/content/base/src/nsDocumentViewer.cpp @@ -3149,8 +3149,6 @@ DocumentViewerImpl::PrintPreviewNavigate(PRInt16 aType, PRInt32 aPageNum) } // Figure where we are currently scrolled to - const nsIView * clippedView; - scrollableView->GetClipView(&clippedView); nscoord x; nscoord y; scrollableView->GetScrollPosition(x, y); diff --git a/mozilla/layout/base/nsDocumentViewer.cpp b/mozilla/layout/base/nsDocumentViewer.cpp index 0267a39805d..77a209c0804 100644 --- a/mozilla/layout/base/nsDocumentViewer.cpp +++ b/mozilla/layout/base/nsDocumentViewer.cpp @@ -3149,8 +3149,6 @@ DocumentViewerImpl::PrintPreviewNavigate(PRInt16 aType, PRInt32 aPageNum) } // Figure where we are currently scrolled to - const nsIView * clippedView; - scrollableView->GetClipView(&clippedView); nscoord x; nscoord y; scrollableView->GetScrollPosition(x, y);