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>
This commit is contained in:
@@ -2097,9 +2097,9 @@ void Document::handleSelectionChangeNotification()
|
|||||||
xParagraph->notifyEvent(
|
xParagraph->notifyEvent(
|
||||||
css::accessibility::AccessibleEventId::
|
css::accessibility::AccessibleEventId::
|
||||||
CARET_CHANGED,
|
CARET_CHANGED,
|
||||||
css::uno::makeAny< ::sal_Int32 >(
|
css::uno::Any( ::sal_Int32 (
|
||||||
nNewLastPara == m_nSelectionLastPara
|
nNewLastPara == m_nSelectionLastPara
|
||||||
? m_nSelectionLastPos : 0),
|
? m_nSelectionLastPos : 0)),
|
||||||
css::uno::Any(nNewLastPos));
|
css::uno::Any(nNewLastPos));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -2216,7 +2216,7 @@ void Document::disposeParagraphs()
|
|||||||
// static
|
// static
|
||||||
css::uno::Any Document::mapFontColor(::Color const & rColor)
|
css::uno::Any Document::mapFontColor(::Color const & rColor)
|
||||||
{
|
{
|
||||||
return css::uno::makeAny(rColor.GetRGBColor());
|
return css::uno::Any(rColor.GetRGBColor());
|
||||||
// FIXME keep transparency?
|
// FIXME keep transparency?
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user