summaryrefslogtreecommitdiff
path: root/accessibility/source
diff options
context:
space:
mode:
Diffstat (limited to 'accessibility/source')
-rw-r--r--accessibility/source/extended/textwindowaccessibility.cxx6
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?
}