diff options
Diffstat (limited to 'sd/source/ui/table/TableDesignPane.cxx')
-rw-r--r-- | sd/source/ui/table/TableDesignPane.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/table/TableDesignPane.cxx b/sd/source/ui/table/TableDesignPane.cxx index 06a77214f9fe..aba2d0473ae7 100644 --- a/sd/source/ui/table/TableDesignPane.cxx +++ b/sd/source/ui/table/TableDesignPane.cxx @@ -323,8 +323,8 @@ void TableValueSet::Resize() int nVisibleRowCount = (aValueSetSize.Height()+2) / aItemSize.Height(); - SetColCount ((sal_uInt16)nColumnCount); - SetLineCount ((sal_uInt16)nRowCount); + SetColCount (static_cast<sal_uInt16>(nColumnCount)); + SetLineCount (static_cast<sal_uInt16>(nRowCount)); if( !m_bModal ) { @@ -402,7 +402,7 @@ void TableDesignWidget::updateControls() { if( aNames[nIndex] == sStyleName ) { - nSelection = (sal_uInt16)nIndex+1; + nSelection = static_cast<sal_uInt16>(nIndex)+1; break; } } |