summaryrefslogtreecommitdiff
path: root/cppuhelper/qa/propertysetmixin/comp_propertysetmixin.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cppuhelper/qa/propertysetmixin/comp_propertysetmixin.cxx')
-rw-r--r--cppuhelper/qa/propertysetmixin/comp_propertysetmixin.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/cppuhelper/qa/propertysetmixin/comp_propertysetmixin.cxx b/cppuhelper/qa/propertysetmixin/comp_propertysetmixin.cxx
index 0d6c36bbff91..8e0e9bff0fdd 100644
--- a/cppuhelper/qa/propertysetmixin/comp_propertysetmixin.cxx
+++ b/cppuhelper/qa/propertysetmixin/comp_propertysetmixin.cxx
@@ -168,8 +168,7 @@ css::uno::Any Empty2::queryInterface(css::uno::Type const & type)
}
css::uno::Sequence< rtl::OUString > sequenceThird() {
- css::uno::Sequence< rtl::OUString > s(1);
- s[0] = rtl::OUString("Third");
+ css::uno::Sequence<OUString> s { rtl::OUString("Third") };
return s;
}