summaryrefslogtreecommitdiff
path: root/svx/source/form/fmshimp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/form/fmshimp.cxx')
-rw-r--r--svx/source/form/fmshimp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/form/fmshimp.cxx b/svx/source/form/fmshimp.cxx
index 6eb3385291cd..dcdf9811b09e 100644
--- a/svx/source/form/fmshimp.cxx
+++ b/svx/source/form/fmshimp.cxx
@@ -505,7 +505,7 @@ bool IsSearchableControl( const css::uno::Reference< css::uno::XInterface>& _rxC
{
if ( _pCurrentText )
{
- switch ( (::TriState)xCheckBox->getState() )
+ switch ( static_cast<::TriState>(xCheckBox->getState()) )
{
case TRISTATE_FALSE: *_pCurrentText = "0"; break;
case TRISTATE_TRUE: *_pCurrentText = "1"; break;