summaryrefslogtreecommitdiff
path: root/sw/source/core/docnode/ndcopy.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-17 17:11:45 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-17 18:45:16 +0100
commitc963d7e642c24f40c19fb9dc227db5da96728c12 (patch)
tree81fbcb736dad59a7e0d3bcd8f9e6b84e99bb5607 /sw/source/core/docnode/ndcopy.cxx
parent8711842d1b861544ed4a934f675adbed7cf83f32 (diff)
bool improvements
Change-Id: I9324483db587be43238af79c2148d724397a4622
Diffstat (limited to 'sw/source/core/docnode/ndcopy.cxx')
-rw-r--r--sw/source/core/docnode/ndcopy.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/docnode/ndcopy.cxx b/sw/source/core/docnode/ndcopy.cxx
index 3840c19bdc50..ab5056d46be3 100644
--- a/sw/source/core/docnode/ndcopy.cxx
+++ b/sw/source/core/docnode/ndcopy.cxx
@@ -1604,7 +1604,7 @@ void SwDoc::CopyFlyInFlyImpl(
{
const SwFrmFmt *pFmtN = (*nIt).GetFmt();
const SwFmtChain &rChain = pFmtN->GetChain();
- int nCnt = 0 != rChain.GetPrev();
+ int nCnt = int(0 != rChain.GetPrev());
nCnt += rChain.GetNext() ? 1: 0;
size_t k = 0;
for (::std::set< _ZSortFly >::const_iterator kIt=aSet.begin() ; kIt != aSet.end(); ++kIt, ++k )