VirtualBox

Changeset 52901 in vbox for trunk


Ignore:
Timestamp:
Sep 30, 2014 3:32:03 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
96332
Message:

Main: trailing spaces + warning

Location:
trunk/src/VBox/Main
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/DisplayImpl.h

    r52769 r52901  
    108108    uint32_t    cbVbvaPartial;
    109109
    110     /* Old guest additions (3.x and older) use both VMMDev and DevVGA refresh timer 
     110    /* Old guest additions (3.x and older) use both VMMDev and DevVGA refresh timer
    111111     * to process the VBVABUFFER memory. Therefore the legacy VBVA (VideoAccel) host
    112112     * code can be executed concurrently by VGA refresh timer and the guest VMMDev
     
    198198    virtual void i_getFramebufferDimensions(int32_t *px1, int32_t *py1,
    199199                                            int32_t *px2, int32_t *py2);
    200    
     200
    201201    static const PDMDRVREG  DrvReg;
    202202
     
    257257    virtual HRESULT handleEvent(const ComPtr<IEvent> &aEvent);
    258258
    259     // other internal methods   
     259    // other internal methods
    260260    HRESULT takeScreenShotWorker(ULONG aScreenId,
    261261                                 BYTE *aAddress,
  • trunk/src/VBox/Main/include/QMTranslator.h

    r52559 r52901  
    2121class QMTranslator_Impl;
    2222
    23 class QMTranslator 
     23class QMTranslator
    2424{
    2525public:
     
    2727    virtual ~QMTranslator();
    2828
    29     /* Gets translation from loaded QM file 
    30      * 
     29    /* Gets translation from loaded QM file
     30     *
    3131     * @param   context   QM context to look for translation
    3232     * @param   source    Source string in one-byte encoding
  • trunk/src/VBox/Main/src-all/QMTranslatorImpl.cpp

    r52559 r52901  
    5555        return RT_BE2H_U16(value);
    5656    }
    57    
     57
    5858public:
    5959
     
    411411    };
    412412
    413     try 
     413    try
    414414    {
    415415        FileLoader loader(pszFilename);
  • trunk/src/VBox/Main/src-client/ConsoleImpl.cpp

    r52319 r52901  
    18721872    }
    18731873
    1874    
    18751874    aNames.resize(cEntries);
    18761875    aValues.resize(cEntries);
  • trunk/src/VBox/Main/src-client/EbmlWriter.cpp

    r52888 r52901  
    277277    /* Creates EBML output file. */
    278278    inline int create(const char *a_pszFilename)
    279     { 
     279    {
    280280      return RTFileOpen(&m_File, a_pszFilename, RTFILE_O_CREATE | RTFILE_O_WRITE | RTFILE_O_DENY_NONE);
    281281    }
    282282
    283283    /* Returns file size. */
    284     inline uint64_t getFileSize() 
     284    inline uint64_t getFileSize()
    285285    {
    286286        return RTFileTell(m_File);
     
    349349    }
    350350
    351     /* Serializes an UNSIGNED integer 
     351    /* Serializes an UNSIGNED integer
    352352     * If size is zero then it will be detected automatically. */
    353353    inline Ebml &serializeUnsignedInteger(EbmlClassId classId, uint64_t parm, size_t size = 0)
     
    601601                .serializeUnsignedInteger(CueClusterPosition, it->loc - m_uPositionReference, 8)
    602602                .subEnd(CueTrackPositions)
    603                 .subEnd(CuePoint);   
     603                .subEnd(CuePoint);
    604604        }
    605605
  • trunk/src/VBox/Main/src-client/EbmlWriter.h

    r52791 r52901  
    4040    WebMWriter();
    4141    virtual ~WebMWriter();
    42    
     42
    4343    /* Creates output file
    44      * 
     44     *
    4545     * @param   a_pszFilename   Name of the file to create.
    4646     *
     
    5353    /* Writes WebM header to file.
    5454     * Should be called before any writeBlock call.
    55      * 
     55     *
    5656     * @param a_pCfg Pointer to VPX Codec configuration structure.
    5757     * @param a_pFps Framerate information (frames per second).
     
    6262
    6363    /* Writes a block of compressed data
    64      * 
     64     *
    6565     * @param a_pCfg Pointer to VPX Codec configuration structure.
    6666     * @param a_pPkt VPX data packet.
  • trunk/src/VBox/Main/src-client/VideoRec.cpp

    r52791 r52901  
    531531                pStrm->uEncoderDeadline = VPX_DL_BEST_QUALITY;
    532532            }
    533             else 
     533            else
    534534            {
    535535                LogRel(("Settings quality deadline to = %s\n", value.c_str()));
     
    555555    pStrm->uDelay = 1000 / uFps;
    556556
    557     struct vpx_rational arg_framerate = { uFps, 1 };
     557    struct vpx_rational arg_framerate = { (int)uFps, 1 };
    558558    rc = pStrm->Ebml.writeHeader(&pStrm->VpxConfig, &arg_framerate);
    559559    AssertRCReturn(rc, rc);
  • trunk/src/VBox/Main/src-server/HostDnsServiceResolvConf.cpp

    r52897 r52901  
    6666    wchar_t *pwczTmpStr;
    6767
    68     st.rcps_flags = RCPSF_NO_STR2IPCONV; 
     68    st.rcps_flags = RCPSF_NO_STR2IPCONV;
    6969    int rc = rcp_parse(&st, m->resolvConfFilename.c_str());
    7070    if (rc == -1)
  • trunk/src/VBox/Main/src-server/darwin/HostDnsServiceDarwin.cpp

    r52897 r52901  
    6262
    6363    CFRelease(m->m_RunLoopRef);
    64    
     64
    6565    CFRelease(m->m_DnsWatcher);
    6666
     
    123123        CFRunLoopSourceSignal(m->m_Stopper);
    124124        CFRunLoopWakeUp(m->m_RunLoopRef);
    125        
     125
    126126        RTSemEventWait(m->m_evtStop, RT_INDEFINITE_WAIT);
    127127    }
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette