summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Fischer <af@apache.org>2013-05-30 08:59:30 +0000
committerAndre Fischer <af@apache.org>2013-05-30 08:59:30 +0000
commit3f1d43bd6d7a2c5841ad3b0fbcd417393df74329 (patch)
tree82d9f08143965c410e96b1234d046c07ff516550
parent7eb652cb229e05281ed7939041275c7c75dcc1b7 (diff)
122380: Use quick help text as accessible name for some paragraph panel controls.
Notes
-rwxr-xr-xsvx/source/sidebar/paragraph/ParaPropertyPanel.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx b/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx
index 5dc14b0dde4c..32cb9a3adc15 100755
--- a/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx
+++ b/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx
@@ -416,6 +416,10 @@ void ParaPropertyPanel::InitToolBoxIndent()
maRightIndent->SetModifyHdl( aLink );
maFLineIndent->SetModifyHdl( aLink );
+ maLeftIndent->SetAccessibleName(maLeftIndent->GetQuickHelpText());
+ maRightIndent->SetAccessibleName(maRightIndent->GetQuickHelpText());
+ maFLineIndent->SetAccessibleName(maFLineIndent->GetQuickHelpText());
+
const bool bIsHighContrastModeActive (Theme::IsHighContrastMode());
if( Application::GetSettings().GetLayoutRTL())
@@ -484,6 +488,9 @@ void ParaPropertyPanel::InitToolBoxSpacing()
maTopDist->SetModifyHdl(aLink);
maBottomDist->SetModifyHdl( aLink );
+ mpTopDist->SetAccessibleName(mpTopDist->GetQuickHelpText());
+ mpBottomDist->SetAccessibleName(mpBottomDist->GetQuickHelpText());
+
maTbxUL_IncDec->SetItemImage(TOOLBOX_ITEM1, maParInc);
maTbxUL_IncDec->SetItemImage(TOOLBOX_ITEM2, maParDec);
aLink = LINK( this, ParaPropertyPanel, ClickUL_IncDec_Hdl_Impl );