Kaydet (Commit) 0bb56e88 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

-Werror=unused-but-set-variable

üst a4b8a1c9
...@@ -301,8 +301,6 @@ void ScPreviewShell::UpdateNeededScrollBars() ...@@ -301,8 +301,6 @@ void ScPreviewShell::UpdateNeededScrollBars()
long aHeightOffSet = pDevice ? pDevice->PixelToLogic( Size( nBarW, nBarH ), pPreview->GetMapMode() ).Height() : 0; long aHeightOffSet = pDevice ? pDevice->PixelToLogic( Size( nBarW, nBarH ), pPreview->GetMapMode() ).Height() : 0;
long aWidthOffSet = aHeightOffSet; long aWidthOffSet = aHeightOffSet;
Point aOfs = pPreview->GetOffset();
if( pHorScroll ) if( pHorScroll )
{ {
long nMaxPos = aPageSize.Width() - aWindowSize.Width() + aWidthOffSet; long nMaxPos = aPageSize.Width() - aWindowSize.Width() + aWidthOffSet;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment