ucb/source/core/ucbcmds.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 52829d9a7a57fa98a0d8f109612352605c54cc47
Author: Takeshi Abe <t...@fixedpoint.jp>
Date:   Mon Apr 2 22:59:29 2018 +0900

    ucb: The sequence's length is 3, not 2.
    
    This completes 1a9261124eed5baa04b069a1cb1b51f24423ec9b.
    
    Change-Id: I03e6167bca67f8852250d8464b6fde5e4e690f32
    Reviewed-on: https://gerrit.libreoffice.org/52261
    Tested-by: Jenkins <c...@libreoffice.org>
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>

diff --git a/ucb/source/core/ucbcmds.cxx b/ucb/source/core/ucbcmds.cxx
index edb8347ad928..1fd8f877350b 100644
--- a/ucb/source/core/ucbcmds.cxx
+++ b/ucb/source/core/ucbcmds.cxx
@@ -215,9 +215,8 @@ public:
 
 
 CommandProcessorInfo::CommandProcessorInfo()
+    : m_pInfo( new uno::Sequence< ucb::CommandInfo >( 3 ) )
 {
-    m_pInfo.reset( new uno::Sequence< ucb::CommandInfo >( 2 ) );
-
     (*m_pInfo)[ 0 ]
         = ucb::CommandInfo(
             GETCOMMANDINFO_NAME, // Name
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to