Date: prev next · Thread: first prev next last
2014 Archives by date, by thread · List index


Hello,

I noticed this part:
    236 CommandProcessorInfo::CommandProcessorInfo()
    237 {
    238     m_pInfo = new uno::Sequence< ucb::CommandInfo >( 2 );
    239 
    240     (*m_pInfo)[ 0 ]
    241         = ucb::CommandInfo(
    242             OUString( GETCOMMANDINFO_NAME ), // Name
    243             GETCOMMANDINFO_HANDLE, // Handle
    244             getCppuVoidType() ); // ArgType
    245     (*m_pInfo)[ 1 ]
    246         = ucb::CommandInfo(
    247             OUString( GLOBALTRANSFER_NAME ), // Name
    248             GLOBALTRANSFER_HANDLE, // Handle
    249             cppu::UnoType<ucb::GlobalTransferCommandArgument>::get()
); // ArgType
    250     (*m_pInfo)[ 2 ]
    251         = ucb::CommandInfo(
    252             OUString( CHECKIN_NAME ), // Name
    253             CHECKIN_HANDLE, // Handle
    254             cppu::UnoType<ucb::GlobalTransferCommandArgument>::get()
); // ArgType
    255 }
See
http://opengrok.libreoffice.org/xref/core/ucb/source/core/ucbcmds.cxx#257

I wonder if line 254 could be a wrong copy paste and should be:
cppu::UnoType<ucb::CheckinArgument>::get() ); 

Any idea?

Julien



--
View this message in context: 
http://nabble.documentfoundation.org/Wrong-copy-paste-in-ucbcmds-cxx-ucb-module-tp4109103.html
Sent from the Dev mailing list archive at Nabble.com.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.