Use std::initializer_list ctor

Change-Id: I0238d8f4ae6b92f92f8bb92df33da5552a158cbe
This commit is contained in:
Miklos Vajna
2015-01-11 09:33:09 +01:00
parent e46c61addd
commit 34870f1882

View File

@@ -57,9 +57,10 @@ bool RtfTest::load(const OUString&,
const OUString& rURL, const OUString&,
unsigned int, unsigned int, unsigned int)
{
uno::Sequence< beans::PropertyValue > aDescriptor(1);
aDescriptor[0].Name = "URL";
aDescriptor[0].Value <<= rURL;
uno::Sequence< beans::PropertyValue > aDescriptor =
{
beans::PropertyValue("URL", sal_Int32(0), uno::makeAny(rURL), beans::PropertyState_DIRECT_VALUE)
};
try
{
return m_xFilter->filter(aDescriptor);