diff options
Diffstat (limited to 'accessibility/source/extended/textwindowaccessibility.cxx')
-rw-r--r-- | accessibility/source/extended/textwindowaccessibility.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/accessibility/source/extended/textwindowaccessibility.cxx b/accessibility/source/extended/textwindowaccessibility.cxx index 5183af524492..3b62c886d7af 100644 --- a/accessibility/source/extended/textwindowaccessibility.cxx +++ b/accessibility/source/extended/textwindowaccessibility.cxx @@ -2360,9 +2360,9 @@ css::uno::Any Document::mapFontColor(::Color const & rColor) // static ::Color Document::mapFontColor(css::uno::Any const & rColor) { - ::sal_Int32 nColor = 0; + ::Color nColor; rColor >>= nColor; - return ::Color(static_cast< ::ColorData >(nColor)); + return nColor; } // static |