summaryrefslogtreecommitdiff
path: root/svx/source/sidebar/paragraph
diff options
context:
space:
mode:
authorAndre Fischer <af@apache.org>2013-05-30 08:59:30 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-05-30 14:43:11 +0100
commitd7609ad71524207b847f07e7df9bea1c24fb3b70 (patch)
treee63fdb0b0100b505a32695a45e367f6410432a33 /svx/source/sidebar/paragraph
parent66a10f2817ea28c36c1709c84d58b0befad207ca (diff)
Resolves: #i122380# Use quick help text as accessible name...
for some paragraph panel controls (cherry picked from commit 3f1d43bd6d7a2c5841ad3b0fbcd417393df74329) Conflicts: svx/source/sidebar/paragraph/ParaPropertyPanel.cxx Change-Id: Ic1fdbf1bfa5c04e844c03e6909fef41b76e6c6c5
Diffstat (limited to 'svx/source/sidebar/paragraph')
-rw-r--r--svx/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 9bf443b6af46..88d29c98ee29 100644
--- a/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx
+++ b/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx
@@ -402,6 +402,10 @@ void ParaPropertyPanel::InitToolBoxIndent()
maRightIndent->SetModifyHdl( aLink );
maFLineIndent->SetModifyHdl( aLink );
+ maLeftIndent->SetAccessibleName(maLeftIndent->GetQuickHelpText());
+ maRightIndent->SetAccessibleName(maRightIndent->GetQuickHelpText());
+ maFLineIndent->SetAccessibleName(maFLineIndent->GetQuickHelpText());
+
if( Application::GetSettings().GetLayoutRTL())
{
maTbxIndent_IncDec->SetItemImage(TOOLBOX_ITEM1, maIncIndentControl.GetIcon());
@@ -467,6 +471,9 @@ void ParaPropertyPanel::InitToolBoxSpacing()
maTopDist->SetModifyHdl(aLink);
maBottomDist->SetModifyHdl( aLink );
+ maTopDist->SetAccessibleName(maTopDist->GetQuickHelpText());
+ maBottomDist->SetAccessibleName(maBottomDist->GetQuickHelpText());
+
maTbxUL_IncDec->SetItemImage(TOOLBOX_ITEM1, maParInc);
maTbxUL_IncDec->SetItemImage(TOOLBOX_ITEM2, maParDec);
aLink = LINK( this, ParaPropertyPanel, ClickUL_IncDec_Hdl_Impl );