summaryrefslogtreecommitdiff
path: root/sw/source/core/unocore/unotext.cxx
diff options
context:
space:
mode:
authorBernhard Widl <bernhard.widl@cib.de>2017-06-19 19:04:03 +0200
committerMichael Stahl <mstahl@redhat.com>2017-06-26 11:26:54 +0200
commitef151d297c4c490d8694e14f8f556b56cad3325a (patch)
treee56331717dc07c87fe862dc892a8d151326600e9 /sw/source/core/unocore/unotext.cxx
parent7850e70d5e98bbfeb536d9644b618d0782da30a6 (diff)
fdo#43157 convert OSL_ASSERT to assert in sw/source/core
Change-Id: I6ffd9832ff1085c84fde8763045f3d1cb02137e2 Reviewed-on: https://gerrit.libreoffice.org/38974 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sw/source/core/unocore/unotext.cxx')
-rw-r--r--sw/source/core/unocore/unotext.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unotext.cxx b/sw/source/core/unocore/unotext.cxx
index 830575f7d37b..68c319125969 100644
--- a/sw/source/core/unocore/unotext.cxx
+++ b/sw/source/core/unocore/unotext.cxx
@@ -1664,7 +1664,7 @@ SwXText::convertToTextFrame(
}
SwTextNode *const pTextNode(aStartPam.GetNode().GetTextNode());
- OSL_ASSERT(pTextNode);
+ assert(pTextNode);
if (!pTextNode || !pTextNode->Len()) // don't remove if it contains text!
{
{ // has to be in a block to remove the SwIndexes before