Kaydet (Commit) 682dff09 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

WaE: C4805: unsafe mix of type 'bool' and type 'sal_Bool' in operation

Change-Id: Icdc6189be1c8126f83e8585513709d44dfa6ec35
üst da5eb782
...@@ -1334,7 +1334,7 @@ sal_Bool SvxLinguTabPage::FillItemSet( SfxItemSet& rCoreSet ) ...@@ -1334,7 +1334,7 @@ sal_Bool SvxLinguTabPage::FillItemSet( SfxItemSet& rCoreSet )
// automatic spell checking // automatic spell checking
sal_Bool bNewAutoCheck = aLinguOptionsCLB.IsChecked( (sal_uInt16) EID_SPELL_AUTO ); bool bNewAutoCheck = aLinguOptionsCLB.IsChecked( (sal_uInt16) EID_SPELL_AUTO );
const SfxPoolItem* pOld = GetOldItem( rCoreSet, SID_AUTOSPELL_CHECK ); const SfxPoolItem* pOld = GetOldItem( rCoreSet, SID_AUTOSPELL_CHECK );
if ( !pOld || ( (SfxBoolItem*)pOld )->GetValue() != bNewAutoCheck ) if ( !pOld || ( (SfxBoolItem*)pOld )->GetValue() != bNewAutoCheck )
{ {
......
...@@ -147,7 +147,7 @@ static sal_uInt16 pTwoLinesRanges[] = ...@@ -147,7 +147,7 @@ static sal_uInt16 pTwoLinesRanges[] =
// C-Funktion ------------------------------------------------------------ // C-Funktion ------------------------------------------------------------
inline sal_Bool StateToAttr( TriState aState ) inline bool StateToAttr( TriState aState )
{ {
return ( STATE_CHECK == aState ); return ( STATE_CHECK == aState );
} }
...@@ -2274,7 +2274,7 @@ sal_Bool SvxCharEffectsPage::FillItemSet( SfxItemSet& rSet ) ...@@ -2274,7 +2274,7 @@ sal_Bool SvxCharEffectsPage::FillItemSet( SfxItemSet& rSet )
if ( pOld ) if ( pOld )
{ {
const SvxWordLineModeItem& rItem = *( (const SvxWordLineModeItem*)pOld ); const SvxWordLineModeItem& rItem = *( (const SvxWordLineModeItem*)pOld );
if ( rItem.GetValue() == m_pIndividualWordsBtn->IsChecked() ) if ( rItem.GetValue() == (bool) m_pIndividualWordsBtn->IsChecked() )
bChanged = false; bChanged = false;
} }
......
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