Kaydet (Commit) 130a2baa authored tarafından Stephan Bergmann's avatar Stephan Bergmann

error: enumeral and non-enumeral type in conditional expression

Change-Id: I30293ac22fb26e0f7c9bfd335ccaa9a2d263d02f
üst 33740b7d
...@@ -3575,7 +3575,7 @@ void UnoDateFieldControl::setLongFormat( sal_Bool bLong ) throw(uno::RuntimeExce ...@@ -3575,7 +3575,7 @@ void UnoDateFieldControl::setLongFormat( sal_Bool bLong ) throw(uno::RuntimeExce
sal_Bool UnoDateFieldControl::isLongFormat() throw(uno::RuntimeException) sal_Bool UnoDateFieldControl::isLongFormat() throw(uno::RuntimeException)
{ {
return ( mbLongFormat != TRISTATE_INDET ) ? mbLongFormat : sal_False; return mbLongFormat == TRISTATE_TRUE;
} }
void UnoDateFieldControl::setEmpty() throw(uno::RuntimeException) void UnoDateFieldControl::setEmpty() throw(uno::RuntimeException)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment