diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2008-04-18 13:16:41 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2008-04-18 13:16:41 +0000 |
commit | b2d9fc9db287a6fc64f86d364a1da2f26b093f5b (patch) | |
tree | b562347698cb4a6f23e0ac55fa903326c0d05403 /oox/source/drawingml/textcharacterproperties.cxx | |
parent | 45e6c3815de5cee9dd3787256f85a9f00d80f28c (diff) |
INTEGRATION: CWS xmlfilter04 (1.3.12); FILE MERGED
2008/02/27 14:40:07 dr 1.3.12.1: add setters to Color class, add gamma to a:scrgbClr
Diffstat (limited to 'oox/source/drawingml/textcharacterproperties.cxx')
-rw-r--r-- | oox/source/drawingml/textcharacterproperties.cxx | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/oox/source/drawingml/textcharacterproperties.cxx b/oox/source/drawingml/textcharacterproperties.cxx index 9cead095aceb..4851fde99db0 100644 --- a/oox/source/drawingml/textcharacterproperties.cxx +++ b/oox/source/drawingml/textcharacterproperties.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: textcharacterproperties.cxx,v $ - * $Revision: 1.4 $ + * $Revision: 1.5 $ * * This file is part of OpenOffice.org. * @@ -76,18 +76,14 @@ void TextCharacterProperties::apply( const TextCharacterPropertiesPtr& rSourceTe } void TextCharacterProperties::pushToPropSet( const ::oox::core::XmlFilterBase& rFilterBase, const Reference < XPropertySet > & xPropSet ) const { - PropertySet aPropSet( xPropSet ); - Sequence< OUString > aNames; - Sequence< Any > aValues; - // maTextCharacterPropertyMap.dump_debug("TextCharacter props"); - maTextCharacterPropertyMap.makeSequence( aNames, aValues ); - aPropSet.setProperties( aNames, aValues ); + + PropertySet aPropSet( xPropSet ); + aPropSet.setProperties( maTextCharacterPropertyMap ); if ( maCharColorPtr->isUsed() ) { const rtl::OUString sCharColor( CREATE_OUSTRING( "CharColor" ) ); aPropSet.setProperty( sCharColor, maCharColorPtr->getColor( rFilterBase ) ); - } sal_Bool bHasUnderline = sal_False; @@ -109,11 +105,7 @@ void TextCharacterProperties::pushToPropSet( const ::oox::core::XmlFilterBase& r void TextCharacterProperties::pushToUrlFieldPropSet( const Reference < XPropertySet > & xPropSet ) const { PropertySet aPropSet( xPropSet ); - Sequence< OUString > aNames; - Sequence< Any > aValues; - - maHyperlinkPropertyMap.makeSequence( aNames, aValues ); - aPropSet.setProperties( aNames, aValues ); + aPropSet.setProperties( maHyperlinkPropertyMap ); } float TextCharacterProperties::getCharacterSize( float fDefault ) const |