summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/text/txtparae.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx
index f02a6951092e..4475819a2acb 100644
--- a/xmloff/source/text/txtparae.cxx
+++ b/xmloff/source/text/txtparae.cxx
@@ -794,7 +794,6 @@ OUString XMLTextParagraphExport::FindTextStyleAndHyperlink(
}
OUString sParent; // AutoStyles should not have parents!
sName = GetAutoStylePool().Find( XML_STYLE_FAMILY_TEXT_TEXT, sParent, xPropStates );
- // assert(!sName.isEmpty()); // AutoStyle could not be found
rbHasAutoStyle = true;
}
@@ -1068,7 +1067,7 @@ void XMLTextParagraphExport::exportListChange(
rPrevInfo.BelongsToSameList( rNextInfo ) &&
rPrevInfo.GetLevel() >= rNextInfo.GetLevel() )
{
- assert(pListElements && pListElements->size() >= 2); //list elements missing
+ assert(pListElements && pListElements->size() >= 2 && "list elements missing");
bEndElement = pListElements && pListElements->size() >= 2;
}