summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-24 12:27:11 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-24 12:28:18 +0100
commit130a2baa8307175c27da42ba3ec5a3caf8d799fb (patch)
treedc718f836b196005243569261e315f8e020b88bb /toolkit
parent33740b7d5abb8aca34692fbdaa787b26a60652a9 (diff)
error: enumeral and non-enumeral type in conditional expression
Change-Id: I30293ac22fb26e0f7c9bfd335ccaa9a2d263d02f
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/controls/unocontrols.cxx2
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)