From 6c530b601a67c4343d24ef85e20ae6ef0c547dce 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 --- content/base/src/nsDocumentViewer.cpp | 2 -- layout/base/nsDocumentViewer.cpp | 2 -- 2 files changed, 4 deletions(-) diff --git a/content/base/src/nsDocumentViewer.cpp b/content/base/src/nsDocumentViewer.cpp index 0267a39805d..77a209c0804 100644 --- a/content/base/src/nsDocumentViewer.cpp +++ b/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/layout/base/nsDocumentViewer.cpp b/layout/base/nsDocumentViewer.cpp index 0267a39805d..77a209c0804 100644 --- a/layout/base/nsDocumentViewer.cpp +++ b/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);