summaryrefslogtreecommitdiff
path: root/chart2/source/model/main/Wall.cxx
diff options
context:
space:
mode:
authorBjörn Milcke <bm@openoffice.org>2003-12-15 14:50:38 +0000
committerBjörn Milcke <bm@openoffice.org>2003-12-15 14:50:38 +0000
commit436fa2ec3a12c861c1901987d917ba332971ea45 (patch)
tree3ea93d07b43b7f48a7f26afaf69bf1fdce068d12 /chart2/source/model/main/Wall.cxx
parent301c4918d64443ebde54242b7d0ec1cfdb116167 (diff)
no border per default
Diffstat (limited to 'chart2/source/model/main/Wall.cxx')
-rw-r--r--chart2/source/model/main/Wall.cxx17
1 files changed, 15 insertions, 2 deletions
diff --git a/chart2/source/model/main/Wall.cxx b/chart2/source/model/main/Wall.cxx
index 4de963bd771c..e1e69203b89c 100644
--- a/chart2/source/model/main/Wall.cxx
+++ b/chart2/source/model/main/Wall.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: Wall.cxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: bm $ $Date: 2003-10-06 09:58:31 $
+ * last change: $Author: bm $ $Date: 2003-12-15 15:50:38 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -117,6 +117,14 @@ namespace
static const ::rtl::OUString lcl_aServiceName(
RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.comp.chart2.Wall" ));
+void lcl_AddDefaultsToMap(
+ ::chart::helper::tPropertyValueMap & rOutMap )
+{
+ // override other defaults
+ rOutMap[ ::chart::LineProperties::PROP_LINE_STYLE ] =
+ uno::makeAny( drawing::LineStyle_NONE );
+}
+
const uno::Sequence< Property > & lcl_GetPropertySequence()
{
static uno::Sequence< Property > aPropSeq;
@@ -186,6 +194,11 @@ uno::Any Wall::GetDefaultValue( sal_Int32 nHandle ) const
FillProperties::AddDefaultsToMap(
aStaticDefaults,
/* bIncludeStyleProperties = */ true );
+
+ // initialize defaults
+ // Note: this should be last to override defaults of the previously
+ // added defaults
+ lcl_AddDefaultsToMap( aStaticDefaults );
}
helper::tPropertyValueMap::const_iterator aFound(