diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-04-22 21:58:20 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-04-24 19:06:02 +0000 |
commit | b477a9e0b620a5e1c709e404c5a4e816ef5794f1 (patch) | |
tree | 05fc289fa7f15ce49431de0cc27922ff14e287c5 /chart2/source | |
parent | 86d32551c2249297d02884f20a107a20c8aabb03 (diff) |
Kill comphelper::MakeVector
Change-Id: I6525f9189b25f007d3ffd190b37c73552a900de2
Reviewed-on: https://gerrit.libreoffice.org/24341
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'chart2/source')
-rw-r--r-- | chart2/source/tools/CharacterProperties.cxx | 31 |
1 files changed, 12 insertions, 19 deletions
diff --git a/chart2/source/tools/CharacterProperties.cxx b/chart2/source/tools/CharacterProperties.cxx index c9088702c970..fe3d28732c46 100644 --- a/chart2/source/tools/CharacterProperties.cxx +++ b/chart2/source/tools/CharacterProperties.cxx @@ -39,9 +39,6 @@ #include <com/sun/star/text/WritingMode2.hpp> #include <com/sun/star/i18n/ScriptType.hpp> -#include <comphelper/InlineContainer.hxx> -#include <comphelper/sequence.hxx> - #include <unotools/lingucfg.hxx> #include <i18nlangtag/mslangid.hxx> #include <i18nlangtag/languagetag.hxx> @@ -476,22 +473,18 @@ awt::FontDescriptor CharacterProperties::createFontDescriptorFromPropertySet( { awt::FontDescriptor aResult; // Note: keep this sorted! - ::comphelper::MakeVector< OUString > aPropNames - ( "CharFontCharSet"); // CharSet - aPropNames - ( "CharFontFamily") // Family - ( "CharFontName") // Name - ( "CharFontPitch") // Pitch - ( "CharFontStyleName") // StyleName - ( "CharHeight") // Height - ( "CharPosture") // Slant - ( "CharStrikeout") // Strikeout - ( "CharUnderline") // Underline - ( "CharWeight") // Weight - ( "CharWordMode") // WordLineMode - ; - - uno::Sequence< OUString > aPropNameSeq( comphelper::containerToSequence( aPropNames )); + uno::Sequence< OUString > aPropNameSeq{ + "CharFontCharSet", // CharSet + "CharFontFamily", // Family + "CharFontName", // Name + "CharFontPitch", // Pitch + "CharFontStyleName", // StyleName + "CharHeight", // Height + "CharPosture", // Slant + "CharStrikeout", // Strikeout + "CharUnderline", // Underline + "CharWeight", // Weight + "CharWordMode"}; // WordLineMode uno::Sequence< uno::Any > aValues( xMultiPropSet->getPropertyValues( aPropNameSeq )); sal_Int32 i=0; |