Changeset 57826 in vbox for trunk/src/VBox/GuestHost/DragAndDrop
- Timestamp:
- Sep 18, 2015 10:37:37 AM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 102775
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/DragAndDrop/DnDURIObject.cpp
r57500 r57826 255 255 const RTCString &strBaseNew /* = "" */) 256 256 { 257 char *pszPath = RTUriFilePath(strPath.c_str(), URI_FILE_FORMAT_AUTO); 258 if (!pszPath) /* No URI? */ 259 pszPath = RTStrDup(strPath.c_str()); 260 257 261 int rc; 258 const char *pszPath = RTUriPath(strPath.c_str()); 259 if (!pszPath) 260 pszPath = strPath.c_str(); 262 261 263 if (pszPath) 262 264 { … … 285 287 strPath = RTCString(pszPathURI) + "\r\n"; 286 288 RTStrFree(pszPathURI); 287 288 rc = VINF_SUCCESS;289 289 } 290 290 else … … 296 296 rc = VERR_NO_MEMORY; 297 297 } 298 299 RTStrFree(pszPath); 298 300 } 299 301 else 300 rc = VERR_ INVALID_PARAMETER;302 rc = VERR_NO_MEMORY; 301 303 302 304 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.