summaryrefslogtreecommitdiff
path: root/xmlhelp
diff options
context:
space:
mode:
Diffstat (limited to 'xmlhelp')
-rw-r--r--xmlhelp/source/cxxhelp/provider/resultsetbase.cxx15
1 files changed, 5 insertions, 10 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx b/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx
index 90c928bbc789..ddb982985c65 100644
--- a/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx
+++ b/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx
@@ -392,16 +392,11 @@ private:
uno::Reference< beans::XPropertySetInfo > SAL_CALL
ResultSetBase::getPropertySetInfo()
{
- uno::Sequence< beans::Property > seq(2);
- seq[0].Name = "RowCount";
- seq[0].Handle = -1;
- seq[0].Type = cppu::UnoType<sal_Int32>::get();
- seq[0].Attributes = beans::PropertyAttribute::READONLY;
-
- seq[1].Name = "IsRowCountFinal";
- seq[1].Handle = -1;
- seq[1].Type = cppu::UnoType<sal_Bool>::get();
- seq[1].Attributes = beans::PropertyAttribute::READONLY;
+ uno::Sequence< beans::Property > seq
+ {
+ { "RowCount", -1, cppu::UnoType<sal_Int32>::get(), beans::PropertyAttribute::READONLY },
+ { "IsRowCountFinal", -1, cppu::UnoType<sal_Bool>::get(), beans::PropertyAttribute::READONLY }
+ };
//t
return uno::Reference< beans::XPropertySetInfo > ( new XPropertySetInfoImpl( seq ) );