summaryrefslogtreecommitdiff
path: root/linguistic/source/lngprophelp.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-28 20:01:25 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-28 20:26:25 +0100
commiteba294468bc5a3147f4b710c91ce3e6374cc694a (patch)
tree2ddbebfc8800e4e4654be64668588e95c5596cee /linguistic/source/lngprophelp.cxx
parent4d9d22e9cda685d80cabb37f139963eeb12b6db7 (diff)
bool improvements
Change-Id: I2337b6ffd51c24a3d2de80591bf3b989b2c5936d
Diffstat (limited to 'linguistic/source/lngprophelp.cxx')
-rw-r--r--linguistic/source/lngprophelp.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/linguistic/source/lngprophelp.cxx b/linguistic/source/lngprophelp.cxx
index bf0125ec2be1..44ebd68e4e38 100644
--- a/linguistic/source/lngprophelp.cxx
+++ b/linguistic/source/lngprophelp.cxx
@@ -469,7 +469,7 @@ sal_Bool PropertyHelper_Spell::propertyChange_Impl( const PropertyChangeEvent& r
break;
}
default:
- DBG_ASSERT( 0, "unknown property" );
+ DBG_ASSERT( false, "unknown property" );
}
if (pbVal)
rEvt.NewValue >>= *pbVal;
@@ -533,7 +533,7 @@ void PropertyHelper_Spell::SetTmpPropVals( const PropertyValues &rPropVals )
case UPH_IS_SPELL_WITH_DIGITS : pbResVal = &bResIsSpellWithDigits; break;
case UPH_IS_SPELL_CAPITALIZATION : pbResVal = &bResIsSpellCapitalization; break;
default:
- DBG_ASSERT( 0, "unknown property" );
+ DBG_ASSERT( false, "unknown property" );
}
if (pbResVal)
pVal[i].Value >>= *pbResVal;
@@ -636,7 +636,7 @@ sal_Bool PropertyHelper_Hyphen::propertyChange_Impl( const PropertyChangeEvent&
case UPH_HYPH_MIN_TRAILING : pnVal = &nHyphMinTrailing; break;
case UPH_HYPH_MIN_WORD_LENGTH : pnVal = &nHyphMinWordLength; break;
default:
- DBG_ASSERT( 0, "unknown property" );
+ DBG_ASSERT( false, "unknown property" );
}
if (pnVal)
rEvt.NewValue >>= *pnVal;