View | Details | Raw Unified | Return to issue 42820
Collapse All | Expand All

(-)sd.old/source/ui/view/drviews8.cxx (+14 lines)
Lines 322-327 Link Here
322
		break;
322
		break;
323
323
324
		case SID_ZOOM_OUT:
324
		case SID_ZOOM_OUT:
325
		{
326
			bZoomOnPage = FALSE;
327
			SetZoom( Min( (long) ( GetActiveWindow()->GetZoom() * 2 ), (long) GetActiveWindow()->GetMaxZoom() ) );
328
			Rectangle aVisAreaWin = GetActiveWindow()->PixelToLogic( Rectangle( Point(0,0),
329
			GetActiveWindow()->GetOutputSizePixel()) );
330
			pZoomList->InsertZoomRect(aVisAreaWin);
331
			Invalidate( SID_ZOOM_IN );
332
			Invalidate( SID_ZOOM_OUT );
333
			Invalidate( SID_ZOOM_PANNING );
334
			Invalidate( SID_ZOOM_TOOLBOX );
335
			rReq.Ignore ();
336
			
337
		}
338
		break;
325
		case SID_ZOOM_PANNING:
339
		case SID_ZOOM_PANNING:
326
		{
340
		{
327
			bZoomOnPage = FALSE;
341
			bZoomOnPage = FALSE;
(-)sd.old/source/ui/view/outlnvs2.cxx (-3 / +9 lines)
Lines 210-218 Link Here
210
210
211
		case SID_ZOOM_OUT:
211
		case SID_ZOOM_OUT:
212
		{
212
		{
213
			SetCurrentFunction( FuZoom::Create(this, GetActiveWindow(), pOlView, GetDoc(), rReq) );
213
				SetZoom( Max( (long) ( GetActiveWindow()->GetZoom() * 2 ), (long) GetActiveWindow()->GetMinZoom() ) );
214
			// Beendet sich selbst, kein Cancel() notwendig!
214
				Rectangle aVisAreaWin = GetActiveWindow()->PixelToLogic( Rectangle( Point(0,0),
215
			rReq.Done();
215
					GetActiveWindow()->GetOutputSizePixel()) );
216
				pZoomList->InsertZoomRect(aVisAreaWin);
217
				Invalidate( SID_ATTR_ZOOM );
218
				Invalidate( SID_ZOOM_OUT);
219
				Invalidate( SID_ZOOM_IN );
220
				Cancel();
221
				rReq.Done();
216
		}
222
		}
217
		break;
223
		break;
218
224

Return to issue 42820