VirtualBox

Changeset 58069 in vbox for trunk/src/VBox/GuestHost


Ignore:
Timestamp:
Oct 7, 2015 12:05:47 AM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
103125
Message:

IPRT,*: Simplified RTUriFilePath by removing the uFormat parameter. It now defaults to the host path style just like RTUriFileCreate.

Location:
trunk/src/VBox/GuestHost/DragAndDrop
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/DragAndDrop/DnDURIList.cpp

    r57465 r58069  
    342342    /* Query the path component of a file URI. If this hasn't a
    343343     * file scheme NULL is returned. */
    344     char *pszSrcPath = RTUriFilePath(pszURI, URI_FILE_FORMAT_AUTO);
     344    char *pszSrcPath = RTUriFilePath(pszURI);
    345345    if (pszSrcPath)
    346346    {
     
    460460         * file scheme, NULL is returned. */
    461461        const char *pszURI = lstURI.at(i).c_str();
    462         char *pszFilePath = RTUriFilePath(pszURI,
    463                                           URI_FILE_FORMAT_AUTO);
     462        char *pszFilePath = RTUriFilePath(pszURI);
    464463#ifdef DEBUG_andy
    465464        LogFlowFunc(("pszURI=%s, pszFilePath=%s\n", pszURI, pszFilePath));
  • trunk/src/VBox/GuestHost/DragAndDrop/DnDURIObject.cpp

    r57826 r58069  
    255255                                const RTCString &strBaseNew /* = "" */)
    256256{
    257     char *pszPath = RTUriFilePath(strPath.c_str(), URI_FILE_FORMAT_AUTO);
     257    char *pszPath = RTUriFilePath(strPath.c_str());
    258258    if (!pszPath) /* No URI? */
    259259         pszPath = RTStrDup(strPath.c_str());
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette