summaryrefslogtreecommitdiff
path: root/starmath/source/dialog.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/dialog.cxx')
-rw-r--r--starmath/source/dialog.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx
index 3c23d9c29b19..19b8d0d8d9c4 100644
--- a/starmath/source/dialog.cxx
+++ b/starmath/source/dialog.cxx
@@ -1330,7 +1330,7 @@ void SmShowSymbolSetWindow::SetScrollBarRange()
void SmShowSymbolSetWindow::SelectSymbol(sal_uInt16 nSymbol)
{
- int v = (int) (m_pVScrollBar->GetThumbPos() * nColumns);
+ int v = static_cast<int>(m_pVScrollBar->GetThumbPos() * nColumns);
if (nSelectSymbol != SYMBOL_NONE)
Invalidate(Rectangle(OffsetPoint(Point(((nSelectSymbol - v) % nColumns) * nLen,