Use std::initializer_list ctor
Change-Id: I0238d8f4ae6b92f92f8bb92df33da5552a158cbe
This commit is contained in:
@@ -57,9 +57,10 @@ bool RtfTest::load(const OUString&,
|
|||||||
const OUString& rURL, const OUString&,
|
const OUString& rURL, const OUString&,
|
||||||
unsigned int, unsigned int, unsigned int)
|
unsigned int, unsigned int, unsigned int)
|
||||||
{
|
{
|
||||||
uno::Sequence< beans::PropertyValue > aDescriptor(1);
|
uno::Sequence< beans::PropertyValue > aDescriptor =
|
||||||
aDescriptor[0].Name = "URL";
|
{
|
||||||
aDescriptor[0].Value <<= rURL;
|
beans::PropertyValue("URL", sal_Int32(0), uno::makeAny(rURL), beans::PropertyState_DIRECT_VALUE)
|
||||||
|
};
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
return m_xFilter->filter(aDescriptor);
|
return m_xFilter->filter(aDescriptor);
|
||||||
|
Reference in New Issue
Block a user