summaryrefslogtreecommitdiff
path: root/accessibility/source/standard
diff options
context:
space:
mode:
Diffstat (limited to 'accessibility/source/standard')
-rw-r--r--accessibility/source/standard/vclxaccessiblebutton.cxx2
-rw-r--r--accessibility/source/standard/vclxaccessiblecheckbox.cxx4
-rw-r--r--accessibility/source/standard/vclxaccessiblescrollbar.cxx4
-rw-r--r--accessibility/source/standard/vclxaccessibletoolboxitem.cxx2
4 files changed, 6 insertions, 6 deletions
diff --git a/accessibility/source/standard/vclxaccessiblebutton.cxx b/accessibility/source/standard/vclxaccessiblebutton.cxx
index f26e56d972cb..c95004327f86 100644
--- a/accessibility/source/standard/vclxaccessiblebutton.cxx
+++ b/accessibility/source/standard/vclxaccessiblebutton.cxx
@@ -149,7 +149,7 @@ OUString VCLXAccessibleButton::getAccessibleName( )
if ( nLength == 3 )
{
// it's a browse button
- aName = TK_RES_STRING( RID_STR_ACC_NAME_BROWSEBUTTON );
+ aName = AccResId( RID_STR_ACC_NAME_BROWSEBUTTON );
}
else
{
diff --git a/accessibility/source/standard/vclxaccessiblecheckbox.cxx b/accessibility/source/standard/vclxaccessiblecheckbox.cxx
index 0e01a6680e82..f8243bfc7254 100644
--- a/accessibility/source/standard/vclxaccessiblecheckbox.cxx
+++ b/accessibility/source/standard/vclxaccessiblecheckbox.cxx
@@ -218,9 +218,9 @@ OUString VCLXAccessibleCheckBox::getAccessibleActionDescription ( sal_Int32 nInd
throw IndexOutOfBoundsException();
if(IsChecked())
- return TK_RES_STRING( RID_STR_ACC_ACTION_UNCHECK );
+ return AccResId( RID_STR_ACC_ACTION_UNCHECK );
else
- return TK_RES_STRING( RID_STR_ACC_ACTION_CHECK );
+ return AccResId( RID_STR_ACC_ACTION_CHECK );
}
diff --git a/accessibility/source/standard/vclxaccessiblescrollbar.cxx b/accessibility/source/standard/vclxaccessiblescrollbar.cxx
index 8624de5b6c4d..bb83d7ac832d 100644
--- a/accessibility/source/standard/vclxaccessiblescrollbar.cxx
+++ b/accessibility/source/standard/vclxaccessiblescrollbar.cxx
@@ -265,9 +265,9 @@ OUString VCLXAccessibleScrollBar::getAccessibleName( )
if ( pVCLXScrollBar )
{
if ( pVCLXScrollBar->getOrientation() == ScrollBarOrientation::HORIZONTAL )
- aName = TK_RES_STRING( RID_STR_ACC_SCROLLBAR_NAME_HORIZONTAL );
+ aName = AccResId( RID_STR_ACC_SCROLLBAR_NAME_HORIZONTAL );
else if ( pVCLXScrollBar->getOrientation() == ScrollBarOrientation::VERTICAL )
- aName = TK_RES_STRING( RID_STR_ACC_SCROLLBAR_NAME_VERTICAL );
+ aName = AccResId( RID_STR_ACC_SCROLLBAR_NAME_VERTICAL );
}
return aName;
}
diff --git a/accessibility/source/standard/vclxaccessibletoolboxitem.cxx b/accessibility/source/standard/vclxaccessibletoolboxitem.cxx
index 2a575760dd12..5dbc3b4d1050 100644
--- a/accessibility/source/standard/vclxaccessibletoolboxitem.cxx
+++ b/accessibility/source/standard/vclxaccessibletoolboxitem.cxx
@@ -359,7 +359,7 @@ OUString SAL_CALL VCLXAccessibleToolBoxItem::getAccessibleDescription( )
if (m_nRole == AccessibleRole::PANEL && getAccessibleChildCount() > 0)
{
- return TK_RES_STRING( RID_STR_ACC_PANEL_DESCRIPTION );
+ return AccResId( RID_STR_ACC_PANEL_DESCRIPTION );
}
else
{