Changeset 81699 in vbox for trunk/src/VBox/HostServices/SharedClipboard
- Timestamp:
- Nov 6, 2019 10:54:35 AM (5 years ago)
- Location:
- trunk/src/VBox/HostServices/SharedClipboard
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc-x11.cpp
r81451 r81699 74 74 formatData.uFormats = u32Formats; 75 75 76 int rc2 = shClSvcFormatsReport(pCtx->pClient, &formatData); 77 AssertRC(rc2); 76 int rc = shClSvcFormatsReport(pCtx->pClient, &formatData); 77 RT_NOREF(rc); 78 79 LogFlowFuncLeaveRC(rc); 78 80 } 79 81 … … 182 184 RT_NOREF(pCmdCtx); 183 185 184 #ifdef VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS 185 if (pFormats->uFormats & VBOX_SHCL_FMT_URI_LIST) /* No transfer support yet. */ 186 return VINF_SUCCESS; 187 #endif 188 189 ClipAnnounceFormatToX11(pClient->State.pCtx->pBackend, pFormats->uFormats); 190 191 return VINF_SUCCESS; 186 int rc = ClipAnnounceFormatToX11(pClient->State.pCtx->pBackend, pFormats->uFormats); 187 188 LogFlowFuncLeaveRC(rc); 189 return rc; 192 190 } 193 191 … … 356 354 { 357 355 RT_NOREF(pClient, pTransfer); 358 return VINF_SUCCESS; 356 357 int rc = VINF_SUCCESS; 358 359 LogFlowFuncLeaveRC(rc); 360 return rc; 359 361 } 360 362 … … 362 364 { 363 365 RT_NOREF(pClient, pTransfer); 364 return VINF_SUCCESS; 366 367 int rc = VINF_SUCCESS; 368 369 LogFlowFuncLeaveRC(rc); 370 return rc; 365 371 } 366 372 … … 368 374 { 369 375 RT_NOREF(pClient, pTransfer); 370 return VINF_SUCCESS; 376 377 int rc = VINF_SUCCESS; 378 379 LogFlowFuncLeaveRC(rc); 380 return rc; 371 381 } 372 382 #endif -
trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc.cpp
r81559 r81699 1732 1732 } 1733 1733 else 1734 { 1735 LogRel2(("Shared Clipboard: File transfers are disabled for this VM\n")); 1734 1736 rc = VERR_ACCESS_DENIED; 1737 } 1735 1738 #else 1736 rc = VERR_NOT_ IMPLEMENTED;1739 rc = VERR_NOT_SUPPORTED; 1737 1740 #endif 1738 1741 break;
Note:
See TracChangeset
for help on using the changeset viewer.