accessibility/source/extended/textwindowaccessibility.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit ffdad488a8d2cd52e7bc81c9dee7c9aa562d80e8 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Wed May 4 22:35:17 2022 +0200 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Thu May 5 07:14:56 2022 +0200 Just use Any ctor instead of makeAny in accessibility Change-Id: I7860a176bfd44d8f5071ece03229bc7f768d9d52 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133851 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/accessibility/source/extended/textwindowaccessibility.cxx b/accessibility/source/extended/textwindowaccessibility.cxx index 4b37b1c78dd7..26186c44ae89 100644 --- a/accessibility/source/extended/textwindowaccessibility.cxx +++ b/accessibility/source/extended/textwindowaccessibility.cxx @@ -2097,9 +2097,9 @@ void Document::handleSelectionChangeNotification() xParagraph->notifyEvent( css::accessibility::AccessibleEventId:: CARET_CHANGED, - css::uno::makeAny< ::sal_Int32 >( + css::uno::Any( ::sal_Int32 ( nNewLastPara == m_nSelectionLastPara - ? m_nSelectionLastPos : 0), + ? m_nSelectionLastPos : 0)), css::uno::Any(nNewLastPos)); } } @@ -2216,7 +2216,7 @@ void Document::disposeParagraphs() // static css::uno::Any Document::mapFontColor(::Color const & rColor) { - return css::uno::makeAny(rColor.GetRGBColor()); + return css::uno::Any(rColor.GetRGBColor()); // FIXME keep transparency? }