Changeset 97719 in vbox for trunk/src/VBox/Main/src-client/GuestDnDTargetImpl.cpp
- Timestamp:
- Nov 30, 2022 4:59:23 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/GuestDnDTargetImpl.cpp
r97717 r97719 348 348 349 349 if (RT_FAILURE(vrc)) 350 hrc = VBOX_E_ IPRT_ERROR;350 hrc = VBOX_E_DND_ERROR; 351 351 352 352 if (SUCCEEDED(hrc)) … … 429 429 430 430 if (RT_FAILURE(vrc)) 431 hrc = VBOX_E_ IPRT_ERROR;431 hrc = VBOX_E_DND_ERROR; 432 432 433 433 if (SUCCEEDED(hrc)) … … 470 470 471 471 if (RT_FAILURE(vrc)) 472 hrc = VBOX_E_ IPRT_ERROR;472 hrc = VBOX_E_DND_ERROR; 473 473 474 474 LogFlowFunc(("hrc=%Rhrc\n", hrc)); … … 563 563 else 564 564 { 565 /** @todo r=bird: This isn't an IPRT error, is it? */566 565 if (lstFormats.size() == 0) 567 hr = setError(VBOX_E_ IPRT_ERROR, tr("Guest accepted drop, but did not specify the format"));566 hr = setError(VBOX_E_DND_ERROR, tr("Guest accepted drop, but did not specify the format")); 568 567 else 569 hr = setError(VBOX_E_ IPRT_ERROR, tr("Guest accepted drop, but returned more than one drop format (%zu formats)"),568 hr = setError(VBOX_E_DND_ERROR, tr("Guest accepted drop, but returned more than one drop format (%zu formats)"), 570 569 lstFormats.size()); 571 570 } … … 576 575 } 577 576 else 578 hr = setErrorBoth(VBOX_E_ IPRT_ERROR, vrc, tr("Waiting for response of dropped event failed (%Rrc)"), vrc);577 hr = setErrorBoth(VBOX_E_DND_ERROR, vrc, tr("Waiting for response of dropped event failed (%Rrc)"), vrc); 579 578 } 580 579 else 581 hr = setErrorBoth(VBOX_E_ IPRT_ERROR, vrc, tr("Sending dropped event to guest failed (%Rrc)"), vrc);580 hr = setErrorBoth(VBOX_E_DND_ERROR, vrc, tr("Sending dropped event to guest failed (%Rrc)"), vrc); 582 581 } 583 582 else … … 1682 1681 *aVeto = FALSE; /** @todo Implement vetoing. */ 1683 1682 1684 HRESULT hrc = RT_SUCCESS(vrc) ? S_OK : VBOX_E_ IPRT_ERROR;1683 HRESULT hrc = RT_SUCCESS(vrc) ? S_OK : VBOX_E_DND_ERROR; 1685 1684 1686 1685 LogFlowFunc(("hrc=%Rhrc\n", hrc));
Note:
See TracChangeset
for help on using the changeset viewer.