diff options
author | Noel Grandin <noel@peralex.com> | 2015-12-03 12:38:01 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-12-03 13:57:23 +0200 |
commit | 2b17ec2175e288b92044092166d5b885978cecff (patch) | |
tree | f57160fe8e3987a5f51f9a6860153732c8811974 /svx | |
parent | e6721d2d17f5f34dcac14c3379521bb7fb6b8c03 (diff) |
uno:Sequence->std::vector in SmartTagMgr
Change-Id: I163f7d6c0f30ac2929df1cae202e695d21bb49fc
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/smarttags/SmartTagMgr.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/smarttags/SmartTagMgr.cxx b/svx/source/smarttags/SmartTagMgr.cxx index 6c523cf108d0..ee99934ecdc1 100644 --- a/svx/source/smarttags/SmartTagMgr.cxx +++ b/svx/source/smarttags/SmartTagMgr.cxx @@ -152,14 +152,14 @@ void SmartTagMgr::RecognizeTextRange(const Reference< text::XTextRange>& xRange, typedef std::multimap < OUString, ActionReference >::const_iterator SmartTagMapIter; -void SmartTagMgr::GetActionSequences( Sequence < OUString >& rSmartTagTypes, +void SmartTagMgr::GetActionSequences( std::vector< OUString >& rSmartTagTypes, Sequence < Sequence< Reference< smarttags::XSmartTagAction > > >& rActionComponentsSequence, Sequence < Sequence< sal_Int32 > >& rActionIndicesSequence ) const { - rActionComponentsSequence.realloc( rSmartTagTypes.getLength() ); - rActionIndicesSequence.realloc( rSmartTagTypes.getLength() ); + rActionComponentsSequence.realloc( rSmartTagTypes.size() ); + rActionIndicesSequence.realloc( rSmartTagTypes.size() ); - for ( sal_Int32 j = 0; j < rSmartTagTypes.getLength(); ++j ) + for ( size_t j = 0; j < rSmartTagTypes.size(); ++j ) { const OUString& rSmartTagType = rSmartTagTypes[j]; |