VirtualBox

Changeset 61549 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jun 7, 2016 5:13:34 PM (9 years ago)
Author:
vboxsync
Message:

bugref:8238 VBoxSVC settings - BIOSSettings ParallelPort SerialPortImpl

Location:
trunk/src/VBox/Main/src-server
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/BIOSSettingsImpl.cpp

    r61042 r61549  
    204204
    205205    m->bd.backup();
    206     m->bd->fLogoFadeIn = !!enable;
     206    m->bd->fLogoFadeIn = RT_BOOL(enable);
    207207
    208208    alock.release();
     
    233233
    234234    m->bd.backup();
    235     m->bd->fLogoFadeOut = !!enable;
     235    m->bd->fLogoFadeOut = RT_BOOL(enable);
    236236
    237237    alock.release();
     
    349349
    350350    m->bd.backup();
    351     m->bd->fACPIEnabled = !!enable;
     351    m->bd->fACPIEnabled = RT_BOOL(enable);
    352352
    353353    alock.release();
     
    379379    m->bd.backup();
    380380
    381     m->bd->fIOAPICEnabled = !!aIOAPICEnabled;
     381    m->bd->fIOAPICEnabled = RT_BOOL(aIOAPICEnabled);
    382382    alock.release();
    383383    AutoWriteLock mlock(m->pMachine COMMA_LOCKVAL_SRC_POS);  // mParent is const, needs no locking
     
    436436
    437437    m->bd.backup();
    438     m->bd->fPXEDebugEnabled = !!enable;
     438    m->bd->fPXEDebugEnabled = RT_BOOL(enable);
    439439
    440440    alock.release();
     
    506506
    507507    // simply copy
    508     *m->bd.data() = data;
     508    m->bd.assignCopy(&data);
    509509
    510510    return S_OK;
  • trunk/src/VBox/Main/src-server/ParallelPortImpl.cpp

    r59926 r61549  
    213213    AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS);
    214214
    215     if (m->bd->fEnabled != !!aEnabled)
     215    if (m->bd->fEnabled != RT_BOOL(aEnabled))
    216216    {
    217217        m->bd.backup();
    218         m->bd->fEnabled = !!aEnabled;
     218        m->bd->fEnabled = RT_BOOL(aEnabled);
    219219
    220220        m->fModified = true;
  • trunk/src/VBox/Main/src-server/SerialPortImpl.cpp

    r59967 r61549  
    217217    AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS);
    218218
    219     if (m->bd->fEnabled != !!aEnabled)
     219    if (m->bd->fEnabled != RT_BOOL(aEnabled))
    220220    {
    221221        m->bd.backup();
    222         m->bd->fEnabled = !!aEnabled;
     222        m->bd->fEnabled = RT_BOOL(aEnabled);
    223223
    224224        m->fModified = true;
     
    467467    AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS);
    468468
    469     if (m->bd->fServer != !!aServer)
     469    if (m->bd->fServer != RT_BOOL(aServer))
    470470    {
    471471        m->bd.backup();
    472         m->bd->fServer = !!aServer;
     472        m->bd->fServer = RT_BOOL(aServer);
    473473
    474474        m->fModified = true;
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