diff options
author | Ingrid Halama <iha@openoffice.org> | 2003-12-10 17:32:17 +0000 |
---|---|---|
committer | Ingrid Halama <iha@openoffice.org> | 2003-12-10 17:32:17 +0000 |
commit | 1a66d1026c04cbc2b2bc435e874ebd8f1d33f7e1 (patch) | |
tree | c229655b4de903e81c1e25330206412a5ccfa074 /chart2/source/controller/main/ChartController.cxx | |
parent | added method executeDispatch_PositionAndSize (diff) | |
download | core-1a66d1026c04cbc2b2bc435e874ebd8f1d33f7e1.tar.gz core-1a66d1026c04cbc2b2bc435e874ebd8f1d33f7e1.zip |
added slot SID_ATTR_TRANSFORM with method executeDispatch_PositionAndSize
Diffstat (limited to 'chart2/source/controller/main/ChartController.cxx')
-rw-r--r-- | chart2/source/controller/main/ChartController.cxx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/chart2/source/controller/main/ChartController.cxx b/chart2/source/controller/main/ChartController.cxx index afccdceed1d3..ac6ed1ae9d0c 100644 --- a/chart2/source/controller/main/ChartController.cxx +++ b/chart2/source/controller/main/ChartController.cxx @@ -2,9 +2,9 @@ * * $RCSfile: ChartController.cxx,v $ * - * $Revision: 1.13 $ + * $Revision: 1.14 $ * - * last change: $Author: iha $ $Date: 2003-12-09 17:15:44 $ + * last change: $Author: iha $ $Date: 2003-12-10 18:32:17 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -889,6 +889,7 @@ bool isFormatObjectSID( sal_Int32 nSlotID ) || (sal_Int32)SID_TEXTEDIT == nSlotID || isFormatObjectSID(nSlotID) || (sal_Int32)SID_3D_VIEW == nSlotID + || (sal_Int32)SID_ATTR_TRANSFORM == nSlotID ) { return static_cast< frame::XDispatch* >( this ); @@ -1020,6 +1021,10 @@ tMakeSlotIdCommandMap m_aSlotIdCommandMap = { this->executeDispatch_RotateDiagram(); } + else if((sal_Int32)SID_ATTR_TRANSFORM == nSlotID) + { + this->executeDispatch_PositionAndSize( m_aSelectedObjectCID ); + } } else if(aCommand.equals("SaveAll")) { |