diff options
author | Björn Milcke <bm@openoffice.org> | 2003-12-11 12:54:07 +0000 |
---|---|---|
committer | Björn Milcke <bm@openoffice.org> | 2003-12-11 12:54:07 +0000 |
commit | c426de8f26b9ed6100daafed8fa5d6b8732fb2ed (patch) | |
tree | 22d3a2ccc029af644cdfacb5fbe847583e7f1e5f /chart2/source/model/main/DataPointProperties.cxx | |
parent | d471cbdb6b5b516a0557b018a933c4a1b63d66dc (diff) |
ErrorBar struct->XPropertySet
Diffstat (limited to 'chart2/source/model/main/DataPointProperties.cxx')
-rw-r--r-- | chart2/source/model/main/DataPointProperties.cxx | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/chart2/source/model/main/DataPointProperties.cxx b/chart2/source/model/main/DataPointProperties.cxx index cefb519dbaf6..5a29bcab32af 100644 --- a/chart2/source/model/main/DataPointProperties.cxx +++ b/chart2/source/model/main/DataPointProperties.cxx @@ -2,9 +2,9 @@ * * $RCSfile: DataPointProperties.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: bm $ $Date: 2003-12-08 15:45:54 $ + * last change: $Author: bm $ $Date: 2003-12-11 13:54:06 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -101,9 +101,6 @@ #ifndef _DRAFTS_COM_SUN_STAR_CHART2_SYMBOL_HPP_ #include <drafts/com/sun/star/chart2/Symbol.hpp> #endif -#ifndef _DRAFTS_COM_SUN_STAR_CHART2_ERRORBAR_HPP_ -#include <drafts/com/sun/star/chart2/ErrorBar.hpp> -#endif using namespace ::com::sun::star; using namespace ::drafts::com::sun::star; @@ -289,13 +286,15 @@ void DataPointProperties::AddPropertiesToVector( rOutProperties.push_back( Property( C2U( "ErrorBarX" ), PROP_DATAPOINT_ERROR_BAR_X, - ::getCppuType( reinterpret_cast< const chart2::ErrorBar * >(0)), + // XPropertySet supporting service ErrorBar + ::getCppuType( reinterpret_cast< const uno::Reference< beans::XPropertySet > * >(0)), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::MAYBEVOID )); rOutProperties.push_back( Property( C2U( "ErrorBarY" ), PROP_DATAPOINT_ERROR_BAR_Y, - ::getCppuType( reinterpret_cast< const chart2::ErrorBar * >(0)), + // XPropertySet supporting service ErrorBar + ::getCppuType( reinterpret_cast< const uno::Reference< beans::XPropertySet > * >(0)), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::MAYBEVOID )); rOutProperties.push_back( |