- Timestamp:
- Oct 29, 2010 4:15:40 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 67232
- Location:
- trunk/src/VBox/Main
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ApplianceImpl.cpp
r33540 r33621 819 819 va_list args; 820 820 va_start(args, aWarning); 821 Utf8Str FmtVAstr(aWarning, args);821 Utf8Str str(aWarning, args); 822 822 va_end(args); 823 823 m->llWarnings.push_back(str); -
trunk/src/VBox/Main/ConsoleImpl.cpp
r33590 r33621 3013 3013 getStaticClassIID(), 3014 3014 getStaticComponentName(), 3015 Utf8Str FmtVA(pcsz, args),3015 Utf8Str(pcsz, args), 3016 3016 false /* aWarning */, 3017 3017 true /* aLogIt */); … … 7039 7039 AssertReturnVoid(that); 7040 7040 7041 Utf8Str message = Utf8StrFmtVA(pszFormat, va);7041 Utf8Str message(pszFormat, va); 7042 7042 7043 7043 LogRel(("Console: VM runtime error: fatal=%RTbool, errorID=%s message=\"%s\"\n", -
trunk/src/VBox/Main/ProgressImpl.cpp
r33540 r33621 1161 1161 va_list va) 1162 1162 { 1163 Utf8Str text = Utf8StrFmtVA(aText, va);1163 Utf8Str text(aText, va); 1164 1164 1165 1165 AutoCaller autoCaller(this); -
trunk/src/VBox/Main/VirtualBoxBase.cpp
r33540 r33621 462 462 this->getClassIID(), 463 463 this->getComponentName(), 464 Utf8Str FmtVA(pcsz, args),464 Utf8Str(pcsz, args), 465 465 false /* aWarning */, 466 466 true /* aLogIt */); … … 482 482 this->getClassIID(), 483 483 this->getComponentName(), 484 Utf8Str FmtVA(pcsz, args),484 Utf8Str(pcsz, args), 485 485 true /* aWarning */, 486 486 true /* aLogIt */); … … 502 502 this->getClassIID(), 503 503 this->getComponentName(), 504 Utf8Str FmtVA(pcsz, args),504 Utf8Str(pcsz, args), 505 505 false /* aWarning */, 506 506 false /* aLogIt */); -
trunk/src/VBox/Main/glue/string.cpp
r33563 r33621 139 139 } 140 140 141 void Utf8StrFmt::init(const char *format, va_list args)142 {143 if (!format || !*format)144 {145 m_cch = 0;146 m_cbAllocated = 0;147 m_psz = NULL;148 }149 else150 {151 m_cch = RTStrAPrintfV(&m_psz, format, args);152 m_cbAllocated = m_cch + 1;153 }154 }155 156 141 } /* namespace com */ -
trunk/src/VBox/Main/xml/Settings.cpp
r33612 r33621 189 189 va_list args; 190 190 va_start(args, pcszFormat); 191 Utf8Str FmtVAstrWhat(pcszFormat, args);191 Utf8Str strWhat(pcszFormat, args); 192 192 va_end(args); 193 193
Note:
See TracChangeset
for help on using the changeset viewer.