summaryrefslogtreecommitdiff
path: root/vcl/source/font
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/font')
-rw-r--r--vcl/source/font/FeatureParser.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/source/font/FeatureParser.cxx b/vcl/source/font/FeatureParser.cxx
index 697662032f75..44b7d962429d 100644
--- a/vcl/source/font/FeatureParser.cxx
+++ b/vcl/source/font/FeatureParser.cxx
@@ -46,8 +46,7 @@ FeatureParser::FeatureParser(std::u16string_view rFontName)
}
else
{
- OString sFeature = OUStringToOString(sToken, RTL_TEXTENCODING_ASCII_US);
- FeatureSetting aFeature(sFeature);
+ FeatureSetting aFeature(OUStringToOString(sToken, RTL_TEXTENCODING_ASCII_US));
if (aFeature.m_nTag != 0)
m_aFeatures.push_back(aFeature);
}