summaryrefslogtreecommitdiffstats
path: root/chart2/source/controller/main/ControllerCommandDispatch.cxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-07-02 10:59:06 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-07-02 10:59:06 +0000
commitffaa95a18d50c331ebf1169fe45c94089aa302d5 (patch)
tree9d2568b62b95e4a1e59d3638d8ae1e302e9b2457 /chart2/source/controller/main/ControllerCommandDispatch.cxx
parentINTEGRATION: CWS chart27 (1.5.30); FILE MERGED (diff)
downloadcore-ffaa95a18d50c331ebf1169fe45c94089aa302d5.tar.gz
core-ffaa95a18d50c331ebf1169fe45c94089aa302d5.zip
INTEGRATION: CWS chart27 (1.9.2); FILE MERGED
2008/06/23 12:17:25 iha 1.9.2.1: #i90551# 'Scale Text' button doesn't display state
Diffstat (limited to 'chart2/source/controller/main/ControllerCommandDispatch.cxx')
-rw-r--r--chart2/source/controller/main/ControllerCommandDispatch.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/chart2/source/controller/main/ControllerCommandDispatch.cxx b/chart2/source/controller/main/ControllerCommandDispatch.cxx
index 64e45ad3672d..d572ec2b2f42 100644
--- a/chart2/source/controller/main/ControllerCommandDispatch.cxx
+++ b/chart2/source/controller/main/ControllerCommandDispatch.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: ControllerCommandDispatch.cxx,v $
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
* This file is part of OpenOffice.org.
*
@@ -545,6 +545,7 @@ void ControllerCommandDispatch::updateCommandAvailability()
// text
m_aCommandAvailability[ C2U(".uno:ScaleText")] = bIsWritable && bModelStateIsValid ;
+ m_aCommandArguments[ C2U(".uno:ScaleText")] = uno::makeAny( m_apModelState->bHasAutoScaledText );
// axes
m_aCommandAvailability[ C2U(".uno:DiagramAxisX")] = bIsWritable && bModelStateIsValid && m_apModelState->bHasXAxis;