diff options
Diffstat (limited to 'toolkit/source/controls/unocontrols.cxx')
-rw-r--r-- | toolkit/source/controls/unocontrols.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/source/controls/unocontrols.cxx b/toolkit/source/controls/unocontrols.cxx index c342d83cc542..e79c2f38ec40 100644 --- a/toolkit/source/controls/unocontrols.cxx +++ b/toolkit/source/controls/unocontrols.cxx @@ -3575,7 +3575,7 @@ void UnoDateFieldControl::setLongFormat( sal_Bool bLong ) throw(uno::RuntimeExce sal_Bool UnoDateFieldControl::isLongFormat() throw(uno::RuntimeException) { - return ( mbLongFormat != TRISTATE_INDET ) ? mbLongFormat : sal_False; + return mbLongFormat == TRISTATE_TRUE; } void UnoDateFieldControl::setEmpty() throw(uno::RuntimeException) |