diff options
Diffstat (limited to 'starmath/source/rect.cxx')
-rw-r--r-- | starmath/source/rect.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/rect.cxx b/starmath/source/rect.cxx index 4ca941ae396e..e5e0696e4c3e 100644 --- a/starmath/source/rect.cxx +++ b/starmath/source/rect.cxx @@ -227,7 +227,7 @@ SmRect::SmRect(const OutputDevice &rDev, const SmFormat *pFormat, OSL_ENSURE( nEBorderWidth >= 0, "BorderWidth is negative" ); if (nEBorderWidth < 0) nEBorderWidth = 0; - Init(rDev, pFormat, rText, (sal_uInt16) nEBorderWidth); + Init(rDev, pFormat, rText, sal::static_int_cast<sal_uInt16>(nEBorderWidth)); } |