summaryrefslogtreecommitdiff
path: root/xmloff/source/text/txtparae.cxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2004-03-30 13:31:57 +0000
committerRüdiger Timm <rt@openoffice.org>2004-03-30 13:31:57 +0000
commit40c6073d5dc97136b9f4fe990be9e3bbeca801fb (patch)
tree72d451803a9020c7619cdeaea093fa18d24225af /xmloff/source/text/txtparae.cxx
parentad9ac6d0d3dc5606ec14dd8dc73766225a6cb9ab (diff)
INTEGRATION: CWS impress5ea1 (1.108.102); FILE MERGED
2004/03/13 23:30:21 cl 1.108.102.2: RESYNC: (1.108-1.109); FILE MERGED 2004/03/11 14:54:31 cl 1.108.102.1: #17343# skip invalid properties
Diffstat (limited to 'xmloff/source/text/txtparae.cxx')
-rw-r--r--xmloff/source/text/txtparae.cxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx
index 5feabbe0750d..e238b12d804d 100644
--- a/xmloff/source/text/txtparae.cxx
+++ b/xmloff/source/text/txtparae.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: txtparae.cxx,v $
*
- * $Revision: 1.109 $
+ * $Revision: 1.110 $
*
- * last change: $Author: hr $ $Date: 2004-03-11 16:28:14 $
+ * last change: $Author: rt $ $Date: 2004-03-30 14:31:57 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -442,6 +442,9 @@ void XMLTextParagraphExport::Add( sal_uInt16 nFamily,
nIgnoreProps < 2 && i != xPropStates.end();
i++ )
{
+ if( i->mnIndex == -1 )
+ continue;
+
switch( xPM->GetEntryContextId(i->mnIndex) )
{
case CTF_CHAR_STYLE_NAME:
@@ -632,6 +635,9 @@ OUString XMLTextParagraphExport::FindTextStyleAndHyperlink(
nIgnoreProps < 2 && i != xPropStates.end();
i++ )
{
+ if( i->mnIndex )
+ continue;
+
switch( xPM->GetEntryContextId(i->mnIndex) )
{
case CTF_CHAR_STYLE_NAME: