summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-09-02 16:22:16 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-09-02 21:10:03 +0100
commit43bcb7b05b1e950e2af15b00d7ede218b4f3edff (patch)
tree6d8dc8f63d50352600177ec2000c7993e9c727fd /sw
parent37e94841db43740a4df1ed9c9a4e9180523814bc (diff)
-Wundefined-bool-conversion
'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] Change-Id: Iafffb9ea81387ea19fb9c0a4c6ba929215ace3fa
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/doc/docredln.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/sw/source/core/doc/docredln.cxx b/sw/source/core/doc/docredln.cxx
index 0a71de7c7ba6..1cbb2b55caa7 100644
--- a/sw/source/core/doc/docredln.cxx
+++ b/sw/source/core/doc/docredln.cxx
@@ -1360,7 +1360,6 @@ void SwRangeRedline::MoveFromSection(size_t nMyPos)
SwDoc* pDoc = GetDoc();
const SwRedlineTable& rTable = pDoc->getIDocumentRedlineAccess().GetRedlineTable();
std::vector<SwPosition*> aBeforeArr, aBehindArr;
- OSL_ENSURE( this, "this is not in the array?" );
bool bBreak = false;
SwRedlineTable::size_type n;