summaryrefslogtreecommitdiff
path: root/chart2/source/tools/FillProperties.cxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-07-02 11:00:39 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-07-02 11:00:39 +0000
commit1a77991d10e422185d16cb2e24f8d806bed09611 (patch)
tree557bba39abd98c09cd005d162b6ac82ea0f7f16f /chart2/source/tools/FillProperties.cxx
parent68276375c9b5798ad0d210a401dd4eeffd3ae33d (diff)
INTEGRATION: CWS chart27 (1.8.30); FILE MERGED
2008/06/20 14:24:41 iha 1.8.30.1: #i90931# removed wrong default for GradientStepCount
Diffstat (limited to 'chart2/source/tools/FillProperties.cxx')
-rw-r--r--chart2/source/tools/FillProperties.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/chart2/source/tools/FillProperties.cxx b/chart2/source/tools/FillProperties.cxx
index 1a5b1a1ebd2e..eb4aec48e6e6 100644
--- a/chart2/source/tools/FillProperties.cxx
+++ b/chart2/source/tools/FillProperties.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: FillProperties.cxx,v $
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
* This file is part of OpenOffice.org.
*
@@ -101,7 +101,7 @@ void lcl_AddPropertiesToVector_without_BitmapProperties( ::std::vector< ::com::s
FillProperties::PROP_FILL_GRADIENT_STEPCOUNT,
::getCppuType( reinterpret_cast< const sal_Int16 * >(0)),
beans::PropertyAttribute::BOUND
- | beans::PropertyAttribute::MAYBEDEFAULT ));
+ | beans::PropertyAttribute::MAYBEVOID ));
//optional
// rOutProperties.push_back(
@@ -238,7 +238,6 @@ void lcl_AddDefaultsToMap_without_BitmapProperties(
::chart::PropertyHelper::setPropertyValueDefault( rOutMap, FillProperties::PROP_FILL_STYLE, drawing::FillStyle_SOLID );
::chart::PropertyHelper::setPropertyValueDefault< sal_Int32 >( rOutMap, FillProperties::PROP_FILL_COLOR, 0xd9d9d9 ); // gray85
::chart::PropertyHelper::setPropertyValueDefault< sal_Int16 >( rOutMap, FillProperties::PROP_FILL_TRANSPARENCE, 0 );
- ::chart::PropertyHelper::setPropertyValueDefault< sal_Int16 >( rOutMap, FillProperties::PROP_FILL_GRADIENT_STEPCOUNT, 0 );
::chart::PropertyHelper::setPropertyValueDefault( rOutMap, FillProperties::PROP_FILL_BACKGROUND, false );
}