Changeset 35790 in vbox
- Timestamp:
- Jan 31, 2011 3:35:27 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 69761
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/DisplayImpl.cpp
r35760 r35790 2349 2349 CheckComArgExpr(height, height != 0); 2350 2350 2351 /* Do not allow too large screenshots. This also filters out negative 2352 * values passed as either 'width' or 'height'. 2353 */ 2354 CheckComArgExpr(width, width <= 32767); 2355 CheckComArgExpr(height, height <= 32767); 2356 2351 2357 AutoCaller autoCaller(this); 2352 2358 if (FAILED(autoCaller.rc())) return autoCaller.rc(); … … 2398 2404 CheckComArgExpr(height, height != 0); 2399 2405 2406 /* Do not allow too large screenshots. This also filters out negative 2407 * values passed as either 'width' or 'height'. 2408 */ 2409 CheckComArgExpr(width, width <= 32767); 2410 CheckComArgExpr(height, height <= 32767); 2411 2400 2412 AutoCaller autoCaller(this); 2401 2413 if (FAILED(autoCaller.rc())) return autoCaller.rc(); … … 2470 2482 CheckComArgExpr(width, width != 0); 2471 2483 CheckComArgExpr(height, height != 0); 2484 2485 /* Do not allow too large screenshots. This also filters out negative 2486 * values passed as either 'width' or 'height'. 2487 */ 2488 CheckComArgExpr(width, width <= 32767); 2489 CheckComArgExpr(height, height <= 32767); 2472 2490 2473 2491 AutoCaller autoCaller(this);
Note:
See TracChangeset
for help on using the changeset viewer.