diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-04-04 14:33:20 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-04-04 14:33:20 +0200 |
commit | 0bb56e88f66e62ec305f863d83aa65a46e1b2ba3 (patch) | |
tree | 8e6d9d13046cf7e54736cf60a4c8d2264c4fbe01 /sc | |
parent | fdo#33914 do not play sound in presenter console (diff) | |
download | core-0bb56e88f66e62ec305f863d83aa65a46e1b2ba3.tar.gz core-0bb56e88f66e62ec305f863d83aa65a46e1b2ba3.zip |
-Werror=unused-but-set-variable
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/view/prevwsh.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sc/source/ui/view/prevwsh.cxx b/sc/source/ui/view/prevwsh.cxx index 8b65824af442..86f3315bf5cb 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; |