VirtualBox

Changeset 50899 in vbox for trunk/src/VBox/Main/src-all


Ignore:
Timestamp:
Mar 26, 2014 6:08:27 PM (11 years ago)
Author:
vboxsync
Message:

remove changes that break up log and error strings, introduced in 92972

Location:
trunk/src/VBox/Main/src-all
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-all/ExtPackManagerImpl.cpp

    r50874 r50899  
    314314     *        dropped. */
    315315    if (!strSavedName.equalsIgnoreCase(m->Desc.strName))
    316     {
    317         Utf8Str str;
    318         str = "Extension pack name mismatch between the downloaded file";
    319         str += "and the XML inside it (xml='%s' file='%s')";
    320         return initFailed(tr(str.c_str()), m->Desc.strName.c_str(), strSavedName.c_str());
    321     }
     316        return initFailed(tr("Extension pack name mismatch between the downloaded file and the XML inside it (xml='%s' file='%s')"),
     317                          m->Desc.strName.c_str(), strSavedName.c_str());
     318
    322319
    323320    m->fUsable = true;
  • trunk/src/VBox/Main/src-all/ProgressImpl.cpp

    r50874 r50899  
    159159            uint64_t ullTimeRemaining = ullTimeTotal - ullTimeElapsed;
    160160
    161 //          Log(("Progress::GetTimeRemaining: dPercentDone %RI32, ullTimeNow =
    162 //          %RI64, ullTimeElapsed = %RI64, ullTimeTotal = %RI64, ullTimeRemaining = %RI64\n",
     161//          Log(("Progress::GetTimeRemaining: dPercentDone %RI32, ullTimeNow = %RI64, ullTimeElapsed = %RI64, ullTimeTotal = %RI64, ullTimeRemaining = %RI64\n",
    163162//          (uint32_t)dPercentDone, ullTimeNow, ullTimeElapsed, ullTimeTotal, ullTimeRemaining));
    164163
     
    444443                       OUT_GUID aId /* = NULL */)
    445444{
    446     Utf8Str str = "aDescription=\"%s\", cOperations=%d, ulTotalOperationsWeight=%d, ";
    447     LogFlowThisFunc((str.c_str(),
     445    LogFlowThisFunc(("aDescription=\"%ls\", cOperations=%d, ulTotalOperationsWeight=%d, bstrFirstOperationDescription=\"%ls\", ulFirstOperationWeight=%d\n",
    448446                     aDescription.c_str(),
    449447                     cOperations,
     
    908906    m_ulOperationPercent = 0;
    909907
    910     Utf8Str str;
    911     str = "Progress::setNextOperation(%s): ulNextOperationsWeight = %d; m_ulCurrentOperation is now %d,";
    912     str += "m_ulOperationsCompletedWeight is now %d\n";
    913     Log((str.c_str(), m_operationDescription.c_str(), aNextOperationsWeight, m_ulCurrentOperation,
    914          m_ulOperationsCompletedWeight));
     908    Log(("Progress::setNextOperation(%s): aNextOperationsWeight = %d; m_ulCurrentOperation is now %d, m_ulOperationsCompletedWeight is now %d\n",
     909         m_operationDescription.c_str(), aNextOperationsWeight, m_ulCurrentOperation, m_ulOperationsCompletedWeight));
    915910
    916911    /* wake up all waiting threads */
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