diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2007-09-18 14:04:38 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2007-09-18 14:04:38 +0000 |
commit | 0d9cb8679ce7b5c1b9b1f0b64b27581425f866f3 (patch) | |
tree | 575113b2a5ab00b30e2cf9ff8e65b239939dde31 /chart2/source/model/main | |
parent | 844fc6dbcc379fe3c63cf620ce9ed3be76fae958 (diff) |
INTEGRATION: CWS chart11 (1.3.2); FILE MERGED
2007/07/31 12:56:45 bm 1.3.2.1: #i80084# avoid usage of map operator[] with enums as keys, simplify initialization of default property values
Diffstat (limited to 'chart2/source/model/main')
-rw-r--r-- | chart2/source/model/main/StockBar.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/chart2/source/model/main/StockBar.cxx b/chart2/source/model/main/StockBar.cxx index 8f127ca0cc22..7b333412055a 100644 --- a/chart2/source/model/main/StockBar.cxx +++ b/chart2/source/model/main/StockBar.cxx @@ -4,9 +4,9 @@ * * $RCSfile: StockBar.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: rt $ $Date: 2007-07-25 08:51:31 $ + * last change: $Author: vg $ $Date: 2007-09-18 15:03:01 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -103,8 +103,7 @@ void lcl_AddDefaultsToMap( ::chart::tPropertyValueMap & rOutMap ) { // override other defaults - rOutMap[ ::chart::FillProperties::PROP_FILL_COLOR ] = - uno::makeAny( sal_Int32( 0xffffff) ); // white + ::chart::PropertyHelper::setPropertyValue< sal_Int32 >( rOutMap, ::chart::FillProperties::PROP_FILL_COLOR, 0xffffff ); // white } ::cppu::IPropertyArrayHelper & lcl_getInfoHelper() |