diff options
Diffstat (limited to 'svx/source/tbxctrls/layctrl.cxx')
-rw-r--r-- | svx/source/tbxctrls/layctrl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/tbxctrls/layctrl.cxx b/svx/source/tbxctrls/layctrl.cxx index 3b460fb8ec09..ed6b6fcf0883 100644 --- a/svx/source/tbxctrls/layctrl.cxx +++ b/svx/source/tbxctrls/layctrl.cxx @@ -484,7 +484,7 @@ void ColumnsWindow::UpdateSize_Impl( long nNewCol ) } while ( nWidth > 0 && - (short)(aWinPos.X()+(nMX*nWidth-1)) >= aMaxPos.X()-3 ) + static_cast<short>(aWinPos.X()+(nMX*nWidth-1)) >= aMaxPos.X()-3 ) nWidth--; if ( nNewCol > nWidth ) |