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 /sw/source/uibase | |
parent | e6721d2d17f5f34dcac14c3379521bb7fb6b8c03 (diff) |
uno:Sequence->std::vector in SmartTagMgr
Change-Id: I163f7d6c0f30ac2929df1cae202e695d21bb49fc
Diffstat (limited to 'sw/source/uibase')
-rw-r--r-- | sw/source/uibase/shells/textsh1.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/shells/textsh1.cxx b/sw/source/uibase/shells/textsh1.cxx index 1961204eff06..b768d058a69f 100644 --- a/sw/source/uibase/shells/textsh1.cxx +++ b/sw/source/uibase/shells/textsh1.cxx @@ -1780,13 +1780,13 @@ void SwTextShell::GetState( SfxItemSet &rSet ) break; case SID_OPEN_SMARTTAGMENU: { - uno::Sequence< OUString > aSmartTagTypes; + std::vector< OUString > aSmartTagTypes; uno::Sequence< uno::Reference< container::XStringKeyMap > > aStringKeyMaps; uno::Reference<text::XTextRange> xRange; rSh.GetSmartTagTerm( aSmartTagTypes, aStringKeyMaps, xRange ); - if ( xRange.is() && aSmartTagTypes.getLength() ) + if ( xRange.is() && !aSmartTagTypes.empty() ) { uno::Sequence < uno::Sequence< uno::Reference< smarttags::XSmartTagAction > > > aActionComponentsSequence; uno::Sequence < uno::Sequence< sal_Int32 > > aActionIndicesSequence; |