summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2008-07-30 10:54:58 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2008-07-30 10:54:58 +0000
commitaa453b713a09c8a1d570ec5669360e49f71935c2 (patch)
tree869f796ac3debdf2729e197d230c52d72570e64b
parent968f151d4783b80fb7ab3e2dcfe679fec1e5b306 (diff)
INTEGRATION: CWS chart22 (1.21.2); FILE MERGED
2008/06/10 11:12:21 iha 1.21.2.3: RESYNC: (1.22-1.24); FILE MERGED 2008/04/17 11:30:43 iha 1.21.2.2: RESYNC: (1.21-1.22); FILE MERGED 2008/02/21 16:53:21 iha 1.21.2.1: #i65549# Plotting of missing values
-rw-r--r--chart2/source/model/main/Diagram.cxx12
1 files changed, 10 insertions, 2 deletions
diff --git a/chart2/source/model/main/Diagram.cxx b/chart2/source/model/main/Diagram.cxx
index b7c1eb793..2e36c4050 100644
--- a/chart2/source/model/main/Diagram.cxx
+++ b/chart2/source/model/main/Diagram.cxx
@@ -8,7 +8,7 @@
*
* $RCSfile: Diagram.cxx,v $
*
- * $Revision: 1.24 $
+ * $Revision: 1.25 $
*
* This file is part of OpenOffice.org.
*
@@ -83,7 +83,8 @@ enum
PROP_DIAGRAM_RIGHT_ANGLED_AXES,
PROP_DIAGRAM_PERSPECTIVE,
PROP_DIAGRAM_ROTATION_HORIZONTAL,
- PROP_DIAGRAM_ROTATION_VERTICAL
+ PROP_DIAGRAM_ROTATION_VERTICAL,
+ PROP_DIAGRAM_MISSING_VALUE_TREATMENT
};
void lcl_AddPropertiesToVector(
@@ -155,6 +156,13 @@ void lcl_AddPropertiesToVector(
PROP_DIAGRAM_ROTATION_VERTICAL,
::getCppuType( reinterpret_cast< const sal_Int32 * >(0)),
beans::PropertyAttribute::MAYBEVOID ));
+
+ rOutProperties.push_back(
+ Property( C2U( "MissingValueTreatment" ),
+ PROP_DIAGRAM_MISSING_VALUE_TREATMENT,
+ ::getCppuType( reinterpret_cast< const sal_Int32 * >(0)),
+ beans::PropertyAttribute::BOUND
+ | beans::PropertyAttribute::MAYBEVOID ));
}
void lcl_AddDefaultsToMap(