summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-08-11 16:11:09 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-08-11 16:11:09 +0200
commit47fa001b940fe02147d670df9515db98bc34de5b (patch)
treedb74b589676503ff60761872a24487bb655d078d /editeng
parent525d784796f89c31ec3e41b199c26a6e0444e329 (diff)
-Werror,-Wundefined-bool-conversion
Change-Id: I3efdef9a6581fcb1d5e8da7a86445d2f2401e9f9
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/items/svxfont.cxx2
-rw-r--r--editeng/source/items/xmlcnitm.cxx2
-rw-r--r--editeng/source/misc/svxacorr.cxx6
3 files changed, 5 insertions, 5 deletions
diff --git a/editeng/source/items/svxfont.cxx b/editeng/source/items/svxfont.cxx
index d4c2de04ec56..eb79299e5363 100644
--- a/editeng/source/items/svxfont.cxx
+++ b/editeng/source/items/svxfont.cxx
@@ -146,7 +146,7 @@ OUString SvxFont::CalcCaseMap(const OUString &rTxt) const
}
default:
{
- DBG_ASSERT(!this, "SvxFont::CaseMapTxt: unknown casemap");
+ DBG_ASSERT(false, "SvxFont::CaseMapTxt: unknown casemap");
break;
}
}
diff --git a/editeng/source/items/xmlcnitm.cxx b/editeng/source/items/xmlcnitm.cxx
index 4d237d15aa48..f112383f0cc8 100644
--- a/editeng/source/items/xmlcnitm.cxx
+++ b/editeng/source/items/xmlcnitm.cxx
@@ -58,7 +58,7 @@ bool SvXMLAttrContainerItem::operator==( const SfxPoolItem& rItem ) const
int SvXMLAttrContainerItem::Compare( const SfxPoolItem &/*rWith*/ ) const
{
- DBG_ASSERT( !this, "not yet implemented" );
+ DBG_ASSERT( false, "not yet implemented" );
return 0;
}
diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx
index 51892f405b32..5816b9473051 100644
--- a/editeng/source/misc/svxacorr.cxx
+++ b/editeng/source/misc/svxacorr.cxx
@@ -2149,7 +2149,7 @@ void SvxAutoCorrectLanguageLists::SetAutocorrWordList( SvxAutocorrWordList* pLis
pAutocorr_List = pList;
if( !pAutocorr_List )
{
- OSL_ENSURE( !this, "No valid list" );
+ OSL_ENSURE( false, "No valid list" );
pAutocorr_List = new SvxAutocorrWordList();
}
nFlags |= ChgWordLstLoad;
@@ -2248,7 +2248,7 @@ void SvxAutoCorrectLanguageLists::SetCplSttExceptList( SvStringsISortDtor* pList
pCplStt_ExcptLst = pList;
if( !pCplStt_ExcptLst )
{
- OSL_ENSURE( !this, "No valid list" );
+ OSL_ENSURE( false, "No valid list" );
pCplStt_ExcptLst = new SvStringsISortDtor;
}
nFlags |= CplSttLstLoad;
@@ -2291,7 +2291,7 @@ void SvxAutoCorrectLanguageLists::SetWrdSttExceptList( SvStringsISortDtor* pList
pWrdStt_ExcptLst = pList;
if( !pWrdStt_ExcptLst )
{
- OSL_ENSURE( !this, "No valid list" );
+ OSL_ENSURE( false, "No valid list" );
pWrdStt_ExcptLst = new SvStringsISortDtor;
}
nFlags |= WrdSttLstLoad;