diff options
author | Rüdiger Timm <rt@openoffice.org> | 2008-04-18 19:06:48 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2008-04-18 19:06:48 +0000 |
commit | e6222bc0083360f5b5d055cd2423c8cd643b5336 (patch) | |
tree | 95294f9a17a0e8206015234b1ee05f60e291331b /oox/source/drawingml/chart/axismodel.cxx | |
parent | 3f334a2c2bd292a034d5ceb0b899c9acd2afcdde (diff) |
Correct integration of CWS xmlfilter04
Diffstat (limited to 'oox/source/drawingml/chart/axismodel.cxx')
-rw-r--r-- | oox/source/drawingml/chart/axismodel.cxx | 36 |
1 files changed, 13 insertions, 23 deletions
diff --git a/oox/source/drawingml/chart/axismodel.cxx b/oox/source/drawingml/chart/axismodel.cxx index 0cf65fab64f6..411c5e8ee0f1 100644 --- a/oox/source/drawingml/chart/axismodel.cxx +++ b/oox/source/drawingml/chart/axismodel.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: axismodel.cxx,v $ - * $Revision: 1.3 $ + * $Revision: 1.4 $ * * This file is part of OpenOffice.org. * @@ -29,7 +29,6 @@ ************************************************************************/ #include "oox/drawingml/chart/axismodel.hxx" -#include "oox/drawingml/chart/layoutmodel.hxx" namespace oox { namespace drawingml { @@ -37,18 +36,22 @@ namespace chart { // ============================================================================ -AxisData::AxisData( sal_Int32 nTypeId ) : - mfCrossesAt( 0.0 ), +AxisDispUnitsModel::AxisDispUnitsModel() : mfCustomUnit( 0.0 ), - mfMajorUnit( 0.0 ), - mfMinorUnit( 0.0 ), - mfLogBase( 0.0 ), - mfMax( 0.0 ), - mfMin( 0.0 ), + mnBuiltInUnit( XML_TOKEN_INVALID ) +{ +} + +AxisDispUnitsModel::~AxisDispUnitsModel() +{ +} + +// ============================================================================ + +AxisModel::AxisModel( sal_Int32 nTypeId ) : mnAxisId( -1 ), mnAxisPos( XML_TOKEN_INVALID ), mnBaseTimeUnit( XML_days ), - mnBuiltInUnit( XML_TOKEN_INVALID ), mnCrossAxisId( -1 ), mnCrossBetween( XML_between ), mnCrossMode( XML_autoZero ), @@ -70,23 +73,10 @@ AxisData::AxisData( sal_Int32 nTypeId ) : { } -// ---------------------------------------------------------------------------- - -AxisModel::AxisModel( sal_Int32 nTypeId ) : - ModelData< AxisData >( nTypeId ) -{ -} - AxisModel::~AxisModel() { } -LayoutModel& AxisModel::createUnitLabelsLayout() -{ - mxLayout.reset( new LayoutModel ); - return *mxLayout; -} - // ============================================================================ } // namespace chart |