diff options
author | Daniel Vogelheim <dvo@openoffice.org> | 2002-10-30 09:17:55 +0000 |
---|---|---|
committer | Daniel Vogelheim <dvo@openoffice.org> | 2002-10-30 09:17:55 +0000 |
commit | 6cdc42b06425038078191c4b1ed7050bb8f7e446 (patch) | |
tree | 6750346a511a12ab9d94de068e99561a5f457a83 /xmloff/source/text/XMLIndexBibliographyConfigurationContext.cxx | |
parent | f3b44f6366a99a0926b15c3d2727aa4532f9884c (diff) |
#98749# allow loading of empty bibliography brackets (saving already worked)
Diffstat (limited to 'xmloff/source/text/XMLIndexBibliographyConfigurationContext.cxx')
-rw-r--r-- | xmloff/source/text/XMLIndexBibliographyConfigurationContext.cxx | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/xmloff/source/text/XMLIndexBibliographyConfigurationContext.cxx b/xmloff/source/text/XMLIndexBibliographyConfigurationContext.cxx index d7875d3ad4c2..8dcef71b0e61 100644 --- a/xmloff/source/text/XMLIndexBibliographyConfigurationContext.cxx +++ b/xmloff/source/text/XMLIndexBibliographyConfigurationContext.cxx @@ -2,9 +2,9 @@ * * $RCSfile: XMLIndexBibliographyConfigurationContext.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: dvo $ $Date: 2001-06-29 21:07:21 $ + * last change: $Author: dvo $ $Date: 2002-10-30 10:17:55 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -326,17 +326,11 @@ void XMLIndexBibliographyConfigurationContext::CreateAndInsert( Reference<XPropertySet> xPropSet( xIfc, UNO_QUERY ); Any aAny; - if (sSuffix.getLength() > 0) - { - aAny <<= sSuffix; - xPropSet->setPropertyValue(sBracketAfter, aAny); - } + aAny <<= sSuffix; + xPropSet->setPropertyValue(sBracketAfter, aAny); - if (sPrefix.getLength() > 0) - { - aAny <<= sPrefix; - xPropSet->setPropertyValue(sBracketBefore, aAny); - } + aAny <<= sPrefix; + xPropSet->setPropertyValue(sBracketBefore, aAny); aAny.setValue(&bNumberedEntries, ::getBooleanCppuType()); xPropSet->setPropertyValue(sIsNumberEntries, aAny); |