diff options
Diffstat (limited to 'svx/source/fmcomp/gridcell.cxx')
-rw-r--r-- | svx/source/fmcomp/gridcell.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/fmcomp/gridcell.cxx b/svx/source/fmcomp/gridcell.cxx index e9bbaed89a6e..b0fa861ed605 100644 --- a/svx/source/fmcomp/gridcell.cxx +++ b/svx/source/fmcomp/gridcell.cxx @@ -3897,7 +3897,7 @@ void SAL_CALL FmXCheckBoxCell::removeItemListener( const Reference< css::awt::XI } -void SAL_CALL FmXCheckBoxCell::setState( short n ) +void SAL_CALL FmXCheckBoxCell::setState( sal_Int16 n ) { ::osl::MutexGuard aGuard( m_aMutex ); @@ -3909,14 +3909,14 @@ void SAL_CALL FmXCheckBoxCell::setState( short n ) } -short SAL_CALL FmXCheckBoxCell::getState() +sal_Int16 SAL_CALL FmXCheckBoxCell::getState() { ::osl::MutexGuard aGuard( m_aMutex ); if (m_pBox) { UpdateFromColumn(); - return static_cast<short>(m_pBox->GetState()); + return static_cast<sal_Int16>(m_pBox->GetState()); } return TRISTATE_INDET; } |