summaryrefslogtreecommitdiff
path: root/xmloff/source/style/XMLPageExport.cxx
diff options
context:
space:
mode:
authorSascha Ballach <sab@openoffice.org>2001-04-06 10:06:15 +0000
committerSascha Ballach <sab@openoffice.org>2001-04-06 10:06:15 +0000
commit68c1522759a7771964699c6c4679ec9cbc3ec9ec (patch)
treed252387267dce579d5a815fb02519750037b51ce /xmloff/source/style/XMLPageExport.cxx
parent58be32ad7e17a326d534591a4e828cad67a84647 (diff)
#82953#; only write the next style name if there is a name
Diffstat (limited to 'xmloff/source/style/XMLPageExport.cxx')
-rw-r--r--xmloff/source/style/XMLPageExport.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmloff/source/style/XMLPageExport.cxx b/xmloff/source/style/XMLPageExport.cxx
index 3d1b7f4fe85b..a8db7bee3c85 100644
--- a/xmloff/source/style/XMLPageExport.cxx
+++ b/xmloff/source/style/XMLPageExport.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: XMLPageExport.cxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: mib $ $Date: 2000-11-07 13:33:06 $
+ * last change: $Author: sab $ $Date: 2001-04-06 11:06:15 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -202,7 +202,7 @@ sal_Bool XMLPageExport::exportStyle(
aAny = xPropSet->getPropertyValue( sFollowStyle );
OUString sNextName;
aAny >>= sNextName;
- if( sName != sNextName )
+ if( sName != sNextName && sNextName.getLength() )
{
GetExport().AddAttribute( XML_NAMESPACE_STYLE, sXML_next_style_name,
sNextName );