Simplify Sequences initializations (accessibility/binaryurp)
Change-Id: I4b388b7faa1dc47f27d29aaaff9041fe81a29f71 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116739 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
parent
a3d2d01f55
commit
3e8e5f079e
@ -140,14 +140,12 @@ Reference< XAccessibleTable > SAL_CALL AccessibleGridControlHeader::getAccessibl
|
|||||||
//not selectable
|
//not selectable
|
||||||
Sequence< sal_Int32 > SAL_CALL AccessibleGridControlHeader::getSelectedAccessibleRows()
|
Sequence< sal_Int32 > SAL_CALL AccessibleGridControlHeader::getSelectedAccessibleRows()
|
||||||
{
|
{
|
||||||
Sequence< sal_Int32 > aSelSeq(0);
|
return {};
|
||||||
return aSelSeq;
|
|
||||||
}
|
}
|
||||||
//columns aren't selectable
|
//columns aren't selectable
|
||||||
Sequence< sal_Int32 > SAL_CALL AccessibleGridControlHeader::getSelectedAccessibleColumns()
|
Sequence< sal_Int32 > SAL_CALL AccessibleGridControlHeader::getSelectedAccessibleColumns()
|
||||||
{
|
{
|
||||||
Sequence< sal_Int32 > aSelSeq(0);
|
return {};
|
||||||
return aSelSeq;
|
|
||||||
}
|
}
|
||||||
//row headers not selectable
|
//row headers not selectable
|
||||||
sal_Bool SAL_CALL AccessibleGridControlHeader::isAccessibleRowSelected( sal_Int32 /*nRow*/ )
|
sal_Bool SAL_CALL AccessibleGridControlHeader::isAccessibleRowSelected( sal_Int32 /*nRow*/ )
|
||||||
|
@ -155,8 +155,7 @@ Sequence< sal_Int32 > SAL_CALL AccessibleGridControlTable::getSelectedAccessible
|
|||||||
//columns aren't selectable
|
//columns aren't selectable
|
||||||
Sequence< sal_Int32 > SAL_CALL AccessibleGridControlTable::getSelectedAccessibleColumns()
|
Sequence< sal_Int32 > SAL_CALL AccessibleGridControlTable::getSelectedAccessibleColumns()
|
||||||
{
|
{
|
||||||
Sequence< sal_Int32 > aSelSeq(0);
|
return {};
|
||||||
return aSelSeq;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sal_Bool SAL_CALL AccessibleGridControlTable::isAccessibleRowSelected( sal_Int32 nRow )
|
sal_Bool SAL_CALL AccessibleGridControlTable::isAccessibleRowSelected( sal_Int32 nRow )
|
||||||
|
@ -951,8 +951,7 @@ void Bridge::sendCommitChangeRequest() {
|
|||||||
assert(mode_ == MODE_REQUESTED || mode_ == MODE_REPLY_1);
|
assert(mode_ == MODE_REQUESTED || mode_ == MODE_REPLY_1);
|
||||||
css::uno::Sequence< css::bridge::ProtocolProperty > s(1);
|
css::uno::Sequence< css::bridge::ProtocolProperty > s(1);
|
||||||
s[0].Name = "CurrentContext";
|
s[0].Name = "CurrentContext";
|
||||||
std::vector< BinaryAny > a;
|
std::vector< BinaryAny > a { mapCppToBinaryAny(css::uno::Any(s)) };
|
||||||
a.push_back(mapCppToBinaryAny(css::uno::Any(s)));
|
|
||||||
sendProtPropRequest(OutgoingRequest::KIND_COMMIT_CHANGE, a);
|
sendProtPropRequest(OutgoingRequest::KIND_COMMIT_CHANGE, a);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user