diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-08-13 16:06:01 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-08-13 18:46:46 +0200 |
commit | 9e2351ffd9dc7876c1071e5b6eed10ba9aaae2cd (patch) | |
tree | 634248013ed7277e35c11bea6cc7a144fda18892 /xmloff | |
parent | 2a7fe0667062506a21f1fc274da9dad62e28cc43 (diff) |
XMLTextParagraphExport: not finding auto style means data loss
... so use assert() to get attention for such problems.
Change-Id: I4aea1a1cb5ad497583024b326f27fb73e5be9bb7
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/text/txtparae.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx index 66866698edb0..7dc6bd6558a3 100644 --- a/xmloff/source/text/txtparae.cxx +++ b/xmloff/source/text/txtparae.cxx @@ -798,7 +798,7 @@ OUString XMLTextParagraphExport::FindTextStyleAndHyperlink( } OUString sParent; // AutoStyles should not have parents! sName = GetAutoStylePool().Find( XML_STYLE_FAMILY_TEXT_TEXT, sParent, xPropStates ); - DBG_ASSERT( !sName.isEmpty(), "AutoStyle could not be found" ); + assert(!sName.isEmpty()); // AutoStyle could not be found rbHasAutoStyle = sal_True; } |