summaryrefslogtreecommitdiff
path: root/sw/source/ui/dialog/wordcountdialog.cxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-11-27 12:19:22 +0100
committerMichael Stahl <mstahl@redhat.com>2012-11-27 12:45:22 +0100
commit6f8f95fed7a4bd741bf035f53a758ac0c6da66b2 (patch)
tree3fa7cc852025f1b5cb506c35fc648fdf10269597 /sw/source/ui/dialog/wordcountdialog.cxx
parent59a9bac2bf66d4a9e96eea41831b7fb016fb44e8 (diff)
warning C4805: '!=': unsafe mix of bool and sal_Bool
Change-Id: I42e2de6b4837c2fa334003e670a1aed8881476e5
Diffstat (limited to 'sw/source/ui/dialog/wordcountdialog.cxx')
-rw-r--r--sw/source/ui/dialog/wordcountdialog.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/dialog/wordcountdialog.cxx b/sw/source/ui/dialog/wordcountdialog.cxx
index fa908a7b94cf..a83e399f3856 100644
--- a/sw/source/ui/dialog/wordcountdialog.cxx
+++ b/sw/source/ui/dialog/wordcountdialog.cxx
@@ -76,7 +76,7 @@ void SwWordCountFloatDlg::SetValues(const SwDocStat& rCurrent, const SwDocStat&
setValue(m_pDocCjkcharsFT, rDoc.nAsianWord);
bool bShowCJK = (SvtCJKOptions().IsAnyEnabled() || rDoc.nAsianWord);
- bool bToggleCJK = m_pCurrentCjkcharsFT->IsVisible() != bShowCJK;
+ bool bToggleCJK = m_pCurrentCjkcharsFT->IsVisible() != static_cast<sal_Bool>(bShowCJK);
if (bToggleCJK)
{
showCJK(bShowCJK);