[Libreoffice-commits] core.git: sw/source
Stephan Bergmann
sbergman at redhat.com
Wed Sep 27 15:19:04 UTC 2017
sw/source/core/crsr/bookmrk.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 7e76b983301b02dd7020636905b764b981b1fff0
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Sep 27 17:18:16 2017 +0200
Silence --disable-assert-always-abort warnings
Change-Id: I34fbba0253d307021a5b090143eb357809c144ec
diff --git a/sw/source/core/crsr/bookmrk.cxx b/sw/source/core/crsr/bookmrk.cxx
index 64a116aac1f7..8ea7445ea676 100644
--- a/sw/source/core/crsr/bookmrk.cxx
+++ b/sw/source/core/crsr/bookmrk.cxx
@@ -72,10 +72,10 @@ namespace
if (aEndMark != CH_TXT_ATR_FORMELEMENT)
{
SwPosition const& rStart(pField->GetMarkStart());
- assert(rStart.nNode.GetNode().GetTextNode()->GetText()[rStart.nContent.GetIndex()] == aStartMark);
+ assert(rStart.nNode.GetNode().GetTextNode()->GetText()[rStart.nContent.GetIndex()] == aStartMark); (void) rStart; (void) aStartMark;
}
SwPosition const& rEnd(pField->GetMarkEnd());
- assert(rEnd.nNode.GetNode().GetTextNode()->GetText()[rEnd.nContent.GetIndex() - 1] == aEndMark);
+ assert(rEnd.nNode.GetNode().GetTextNode()->GetText()[rEnd.nContent.GetIndex() - 1] == aEndMark); (void) rEnd;
}
void lcl_SetFieldMarks(Fieldmark* const pField,
More information about the Libreoffice-commits
mailing list