summaryrefslogtreecommitdiffstats
path: root/xmloff
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-08-13 16:06:01 +0200
committerMichael Stahl <mstahl@redhat.com>2013-08-13 18:46:46 +0200
commit9e2351ffd9dc7876c1071e5b6eed10ba9aaae2cd (patch)
tree634248013ed7277e35c11bea6cc7a144fda18892 /xmloff
parentstartcenter: Logo, more space, and a little cleanup. (diff)
downloadcore-9e2351ffd9dc7876c1071e5b6eed10ba9aaae2cd.tar.gz
core-9e2351ffd9dc7876c1071e5b6eed10ba9aaae2cd.zip
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.cxx2
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;
}