VirtualBox

Ignore:
Timestamp:
Jan 1, 2019 8:13:07 PM (6 years ago)
Author:
vboxsync
Message:

Main: Don't use Logging.h.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/xpcom/module.cpp

    r76553 r76592  
    11/* $Id$ */
    22/** @file
    3  *
    43 * XPCOM module implementation functions
    54 */
     
    1615 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
    1716 */
     17
     18#define LOG_GROUP LOG_GROUP_MAIN
    1819
    1920/* Make sure all the stdint.h macros are included - must come first! */
     
    3435#include "RemoteUSBDeviceImpl.h"
    3536#include "USBDeviceImpl.h"
    36 
    37 #include "Logging.h"
    3837
    3938// XPCOM glue code unfolding
     
    7069        instance = 0;
    7170    }
     71
    7272    static nsresult GetInstance(VirtualBoxClient **inst)
    7373    {
     
    7676        {
    7777            instance = new VirtualBoxClientClassFactory();
    78             if (instance) {
     78            if (instance)
     79            {
    7980                instance->AddRef(); // protect FinalConstruct()
    8081                rv = instance->FinalConstruct();
     
    8384                else
    8485                    instance->AddRef(); // self-reference
    85             } else {
     86            }
     87            else
     88            {
    8689                rv = NS_ERROR_OUT_OF_MEMORY;
    8790            }
    88         } else {
     91        }
     92        else
     93        {
    8994            instance->AddRef();
    9095        }
     
    9297        return rv;
    9398    }
     99
    94100    static nsresult FactoryDestructor()
    95101    {
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