summaryrefslogtreecommitdiff
path: root/ucb/source/core/ucbcmds.cxx
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2018-04-02 22:59:29 +0900
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-04-02 17:03:25 +0200
commit52829d9a7a57fa98a0d8f109612352605c54cc47 (patch)
treee567cf480d9f91f889c52fb0fb606235735eb97e /ucb/source/core/ucbcmds.cxx
parent50d9f1508709e0849e8ecabfe04ac9281160d9e0 (diff)
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 <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'ucb/source/core/ucbcmds.cxx')
-rw-r--r--ucb/source/core/ucbcmds.cxx3
1 files changed, 1 insertions, 2 deletions
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