diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2016-02-16 19:58:33 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-04-01 07:33:45 +0000 |
commit | 3f7f497192deb486b1b959996c14f8f094146945 (patch) | |
tree | b830caec984a7ac9fb71ce92663f35c3f5f221a1 /sfx2 | |
parent | dba6451b2f25b3d8510e0a848977166ee5e6c8e3 (diff) |
sequence->vector in framework
Change-Id: I457c3da4f4a31f58d688dcd96a2ccfc36518490d
Reviewed-on: https://gerrit.libreoffice.org/23692
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/doc/sfxbasemodel.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx index 878f9d75717e..8bb5c08de0a9 100644 --- a/sfx2/source/doc/sfxbasemodel.cxx +++ b/sfx2/source/doc/sfxbasemodel.cxx @@ -3563,7 +3563,7 @@ Reference< ui::XUIConfigurationManager2 > SfxBaseModel::getUIConfigurationManage if ( xOOo1ConfigStorage.is() ) { Reference< XComponentContext > xContext( ::comphelper::getProcessComponentContext() ); - Sequence< Reference< container::XIndexContainer > > rToolbars; + std::vector< Reference< container::XIndexContainer > > rToolbars; bool bImported = framework::UIConfigurationImporterOOo1x::ImportCustomToolbars( xNewUIConfMan, rToolbars, xContext, xOOo1ConfigStorage ); @@ -3573,7 +3573,7 @@ Reference< ui::XUIConfigurationManager2 > SfxBaseModel::getUIConfigurationManage OUString aNum( "private:resource/toolbar/custom_OOo1x_" ); OUString aTitle( "Toolbar " ); - for ( sal_Int32 i = 0; i < rToolbars.getLength(); i++ ) + for ( size_t i = 0; i < rToolbars.size(); i++ ) { OUString aCustomTbxName = aNum + OUString::number( i + 1 ); OUString aCustomTbxTitle = aTitle + OUString::number( i + 1 ); |