[Libreoffice-commits] .: sc/source

Stephan Bergmann sbergmann at kemper.freedesktop.org
Wed Apr 4 05:33:33 PDT 2012


 sc/source/ui/view/prevwsh.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 0bb56e88f66e62ec305f863d83aa65a46e1b2ba3
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Apr 4 14:33:20 2012 +0200

    -Werror=unused-but-set-variable

diff --git a/sc/source/ui/view/prevwsh.cxx b/sc/source/ui/view/prevwsh.cxx
index 8b65824..86f3315 100644
--- a/sc/source/ui/view/prevwsh.cxx
+++ b/sc/source/ui/view/prevwsh.cxx
@@ -301,8 +301,6 @@ void ScPreviewShell::UpdateNeededScrollBars()
     long aHeightOffSet = pDevice ? pDevice->PixelToLogic( Size( nBarW, nBarH ), pPreview->GetMapMode() ).Height() : 0;
     long aWidthOffSet = aHeightOffSet;
 
-    Point aOfs = pPreview->GetOffset();
-
     if( pHorScroll )
     {
         long nMaxPos = aPageSize.Width() - aWindowSize.Width() + aWidthOffSet;


More information about the Libreoffice-commits mailing list