You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by af...@apache.org on 2013/05/30 10:59:31 UTC

svn commit: r1487790 - /openoffice/trunk/main/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx

Author: af
Date: Thu May 30 08:59:30 2013
New Revision: 1487790

URL: http://svn.apache.org/r1487790
Log:
122380: Use quick help text as accessible name for some paragraph panel controls.

Modified:
    openoffice/trunk/main/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx

Modified: openoffice/trunk/main/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx?rev=1487790&r1=1487789&r2=1487790&view=diff
==============================================================================
--- openoffice/trunk/main/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx (original)
+++ openoffice/trunk/main/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx Thu May 30 08:59:30 2013
@@ -416,6 +416,10 @@ void ParaPropertyPanel::InitToolBoxInden
 	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::InitToolBoxSpaci
 	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 );