Changeset 83322 in vbox for trunk/src/VBox/Main/src-client
- Timestamp:
- Mar 19, 2020 9:33:49 AM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 136515
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/GuestSessionImplTasks.cpp
r83251 r83322 208 208 && !fCompleted) 209 209 { 210 #if 0 /* Had to quick fix this myself now that the test case triggers it. Please address properly as suggested below. */211 210 HRESULT hr2 = mProgress->i_notifyComplete(hr, 212 211 COM_IIDOF(IGuestSession), 213 212 GuestSession::getStaticComponentName(), 214 /** @todo r=bird: i_notifyComplete takes a format string, so this is215 * potentially risky business if a user input mentioned by the message216 * text contains '%s'! With code below for how to do this less217 * painfully and with fewer string copies. */218 213 strMsg.c_str()); 219 #else220 HRESULT hr2 = mProgress->i_notifyComplete(hr,221 COM_IIDOF(IGuestSession),222 GuestSession::getStaticComponentName(),223 "%s", strMsg.c_str());224 #endif225 214 if (FAILED(hr2)) 226 215 return hr2;
Note:
See TracChangeset
for help on using the changeset viewer.