diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2022-05-04 22:35:17 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2022-05-05 07:14:56 +0200 |
commit | ffdad488a8d2cd52e7bc81c9dee7c9aa562d80e8 (patch) | |
tree | 9cc6b827b2995c4ebc1a5cfc1474ecd6370eba8e /accessibility/source | |
parent | b5ab864096c6b099e6a79587f881f287234278f9 (diff) |
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 <sbergman@redhat.com>
Diffstat (limited to 'accessibility/source')
-rw-r--r-- | accessibility/source/extended/textwindowaccessibility.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
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? } |