diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2015-08-01 15:20:42 +0200 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2015-08-01 19:33:21 +0200 |
commit | 7669cbf594b6bc1cc2731f2da6a0d17a0e9954fe (patch) | |
tree | a6470d4e292998c0fc07ef64151c187f51302c14 /accessibility | |
parent | 297b109e220249bc81738144555c33bf22796bac (diff) |
sal_uInt16 to sal_Int32
Change-Id: Ic2af80d2335875672fee5b61083b1f7f9703dac7
Diffstat (limited to 'accessibility')
-rw-r--r-- | accessibility/source/extended/textwindowaccessibility.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/accessibility/source/extended/textwindowaccessibility.cxx b/accessibility/source/extended/textwindowaccessibility.cxx index c694a0bf4ae0..be6a97629eca 100644 --- a/accessibility/source/extended/textwindowaccessibility.cxx +++ b/accessibility/source/extended/textwindowaccessibility.cxx @@ -1324,14 +1324,12 @@ void Document::changeParagraphAttributes( if ( rAttributeSet[i].Name == "CharColor" ) m_rEngine.SetAttrib(::TextAttribFontColor( mapFontColor(rAttributeSet[i].Value)), - nNumber, static_cast< ::sal_uInt16 >(nBegin), - static_cast< ::sal_uInt16 >(nEnd)); + nNumber, nBegin, nEnd); // XXX numeric overflow (2x) else if ( rAttributeSet[i].Name == "CharWeight" ) m_rEngine.SetAttrib(::TextAttribFontWeight( mapFontWeight(rAttributeSet[i].Value)), - nNumber, static_cast< ::sal_uInt16 >(nBegin), - static_cast< ::sal_uInt16 >(nEnd)); + nNumber, nBegin, nEnd); // XXX numeric overflow (2x) } } |