VirtualBox

Changeset 24291 in vbox


Ignore:
Timestamp:
Nov 3, 2009 2:55:56 PM (15 years ago)
Author:
vboxsync
Message:

Main: remove redundant utf-8 conversion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/SnapshotImpl.cpp

    r24279 r24291  
    17971797        {
    17981798            ComObjPtr<Snapshot> parentSnapshot = aTask.snapshot->parent();
    1799             Bstr stateFilePath = aTask.snapshot->stateFilePath();
     1799            Utf8Str stateFilePath = aTask.snapshot->stateFilePath();
    18001800
    18011801            /* Note that discarding the snapshot will deassociate it from the
     
    18101810            //  if we implement some warning mechanism later, we'll have
    18111811            //  to return a warning if the state file path cannot be deleted
    1812             if (stateFilePath)
     1812            if (!stateFilePath.isEmpty())
    18131813            {
    18141814                aTask.progress->SetNextOperation(Bstr(tr("Discarding the execution state")),
    18151815                                                 1);        // weight
    18161816
    1817                 RTFileDelete(Utf8Str(stateFilePath).c_str());
     1817                RTFileDelete(stateFilePath.c_str());
    18181818            }
    18191819
Note: See TracChangeset for help on using the changeset viewer.

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