diff options
author | Noel Grandin <noel@peralex.com> | 2014-05-08 11:44:15 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-05-08 11:48:14 +0200 |
commit | 78b9537b6aca0f998f939988e6e1a56528d28baf (patch) | |
tree | 6b96ba6b37c32c3ba2ffa112aff990739642e063 /forms/source/runtime | |
parent | e5d0a9ad78ceb531018cb49c1d78b0f63ba92995 (diff) |
various: sal_Bool->bool
Change-Id: I30fa5227f30373f95060148f269450d2945c1bb9
Diffstat (limited to 'forms/source/runtime')
-rw-r--r-- | forms/source/runtime/formoperations.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/forms/source/runtime/formoperations.cxx b/forms/source/runtime/formoperations.cxx index 40933b0109b9..29317268f61d 100644 --- a/forms/source/runtime/formoperations.cxx +++ b/forms/source/runtime/formoperations.cxx @@ -348,7 +348,7 @@ namespace frm aState.Enabled = !impl_isInsertOnlyForm_throw(); } else - aState.State <<= (sal_Bool)sal_False; + aState.State <<= false; } break; @@ -781,7 +781,7 @@ namespace frm // simply toggle the value bool bApplied = false; m_xCursorProperties->getPropertyValue( PROPERTY_APPLYFILTER ) >>= bApplied; - m_xCursorProperties->setPropertyValue( PROPERTY_APPLYFILTER, makeAny( (sal_Bool)!bApplied ) ); + m_xCursorProperties->setPropertyValue( PROPERTY_APPLYFILTER, makeAny( !bApplied ) ); // and reload WaitObject aWO( NULL ); @@ -1656,7 +1656,7 @@ namespace frm try { m_xCursorProperties->setPropertyValue( PROPERTY_FILTER, makeAny( m_xParser->getFilter() ) ); - m_xCursorProperties->setPropertyValue( PROPERTY_APPLYFILTER, makeAny( (sal_Bool)sal_True ) ); + m_xCursorProperties->setPropertyValue( PROPERTY_APPLYFILTER, makeAny( true ) ); m_xLoadableForm->reload(); } @@ -1671,7 +1671,7 @@ namespace frm try { m_xParser->setOrder( sOriginalFilter ); - m_xCursorProperties->setPropertyValue( PROPERTY_APPLYFILTER, makeAny( (sal_Bool)bApplied ) ); + m_xCursorProperties->setPropertyValue( PROPERTY_APPLYFILTER, makeAny( bApplied ) ); m_xCursorProperties->setPropertyValue( PROPERTY_FILTER, makeAny( m_xParser->getFilter() ) ); m_xLoadableForm->reload(); } |