diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2008-05-15 07:02:13 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2008-05-15 07:02:13 +0000 |
commit | 55ff43138724a1c68950b252e87c75cfa0129415 (patch) | |
tree | 71cb59251a746279c2b6f4813f1d1b628c6c6a67 /chart2 | |
parent | 26dd25eb42f7a8ee2f82b3d0e0425851792b40eb (diff) |
INTEGRATION: CWS chart26_DEV300 (1.5.20); FILE MERGED
2008/04/09 08:18:32 iha 1.5.20.2: #i72994# simpler access to 3D settings
2008/04/08 16:02:31 iha 1.5.20.1: #i72994# simpler access to 3D settings
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/controller/main/ChartController_Tools.cxx | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/chart2/source/controller/main/ChartController_Tools.cxx b/chart2/source/controller/main/ChartController_Tools.cxx index efe44a86d57c..501f9c7cd92f 100644 --- a/chart2/source/controller/main/ChartController_Tools.cxx +++ b/chart2/source/controller/main/ChartController_Tools.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: ChartController_Tools.cxx,v $ - * $Revision: 1.8 $ + * $Revision: 1.9 $ * * This file is part of OpenOffice.org. * @@ -303,13 +303,7 @@ void ChartController::executeDispatch_NewArrangement() xState->setPropertyToDefault( C2U("RelativePosition")); // 3d rotation - xState->setPropertyToDefault( C2U("D3DTransformMatrix")); - xState->setPropertyToDefault( C2U("D3DSceneDistance")); - xState->setPropertyToDefault( C2U("D3DSceneFocalLength")); - Reference< beans::XPropertySet > xDiaProp( xDiagram, uno::UNO_QUERY_THROW ); - drawing::CameraGeometry aCameraGeo( ThreeDHelper::getDefaultCameraGeometry()); - xDiaProp->setPropertyValue( C2U("D3DCameraGeometry"), uno::makeAny( aCameraGeo )); - //todo: different defaults for pie and donut; todo ask template + ThreeDHelper::set3DSettingsToDefault( uno::Reference< beans::XPropertySet >( xDiagram, uno::UNO_QUERY ) ); // legend Reference< beans::XPropertyState > xLegendState( xDiagram->getLegend(), uno::UNO_QUERY ); |