summaryrefslogtreecommitdiffstats
path: root/chart2/source/controller/main/ChartController.cxx
diff options
context:
space:
mode:
authorIngrid Halama <iha@openoffice.org>2003-12-09 16:15:44 +0000
committerIngrid Halama <iha@openoffice.org>2003-12-09 16:15:44 +0000
commit4b32a96c85e824dde7ca1d719361c55aec41e4fc (patch)
treeebd6c7af48b7408eb74a1b799536d5c2536165ce /chart2/source/controller/main/ChartController.cxx
parentadded ChartController_Position (diff)
downloadcore-4b32a96c85e824dde7ca1d719361c55aec41e4fc.tar.gz
core-4b32a96c85e824dde7ca1d719361c55aec41e4fc.zip
added slot SID_3D_VIEW with method executeDispatch_RotateDiagram
Diffstat (limited to 'chart2/source/controller/main/ChartController.cxx')
-rw-r--r--chart2/source/controller/main/ChartController.cxx9
1 files changed, 7 insertions, 2 deletions
diff --git a/chart2/source/controller/main/ChartController.cxx b/chart2/source/controller/main/ChartController.cxx
index 7fd2fce1edb7..afccdceed1d3 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.12 $
+ * $Revision: 1.13 $
*
- * last change: $Author: iha $ $Date: 2003-12-04 16:34:19 $
+ * last change: $Author: iha $ $Date: 2003-12-09 17:15:44 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -888,6 +888,7 @@ bool isFormatObjectSID( sal_Int32 nSlotID )
|| (sal_Int32)SID_CHARMAP == nSlotID
|| (sal_Int32)SID_TEXTEDIT == nSlotID
|| isFormatObjectSID(nSlotID)
+ || (sal_Int32)SID_3D_VIEW == nSlotID
)
{
return static_cast< frame::XDispatch* >( this );
@@ -1015,6 +1016,10 @@ tMakeSlotIdCommandMap m_aSlotIdCommandMap =
{
this->executeDispatch_FormatObject(nSlotID);
}
+ else if((sal_Int32)SID_3D_VIEW == nSlotID)
+ {
+ this->executeDispatch_RotateDiagram();
+ }
}
else if(aCommand.equals("SaveAll"))
{