summaryrefslogtreecommitdiff
path: root/chart2/source
diff options
context:
space:
mode:
authorMuhammet Kara <muhammet.kara@pardus.org.tr>2016-06-07 10:52:25 +0300
committerKatarina Behrens <Katarina.Behrens@cib.de>2016-06-10 13:54:37 +0000
commit67868423378130c0e88eed99a6921e81fe94352c (patch)
tree0d509b491acfc76454586ec6d40f626fe96479c2 /chart2/source
parent8132d7f9d71d9f6418855d2d6241dae804beeb8b (diff)
Move accessibility relations to .ui files, Part 8: tdf#87026
By removing unnecessary variables/strings/function calls, and making proper changes in the related .ui files. Change-Id: I04244b360b4bb32ccbbe5bde4756a9166ae1fcaf Reviewed-on: https://gerrit.libreoffice.org/26018 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Diffstat (limited to 'chart2/source')
-rw-r--r--chart2/source/controller/dialogs/Strings.src9
-rw-r--r--chart2/source/controller/dialogs/tp_DataSource.cxx3
-rw-r--r--chart2/source/inc/Strings.hrc7
3 files changed, 2 insertions, 17 deletions
diff --git a/chart2/source/controller/dialogs/Strings.src b/chart2/source/controller/dialogs/Strings.src
index c9d18eb62391..63455740b5ab 100644
--- a/chart2/source/controller/dialogs/Strings.src
+++ b/chart2/source/controller/dialogs/Strings.src
@@ -94,15 +94,6 @@ String STR_PAGE_POSITION
Text [ en-US ] = "Position" ;
};
-String STR_BUTTON_UP
-{
- Text [ en-US ] = "Up";
-};
-String STR_BUTTON_DOWN
-{
- Text [ en-US ] = "Down";
-};
-
String STR_PAGE_LAYOUT
{
Text [ en-US ] = "Layout";
diff --git a/chart2/source/controller/dialogs/tp_DataSource.cxx b/chart2/source/controller/dialogs/tp_DataSource.cxx
index c8808e1d41ae..9c8fe5f0074b 100644
--- a/chart2/source/controller/dialogs/tp_DataSource.cxx
+++ b/chart2/source/controller/dialogs/tp_DataSource.cxx
@@ -267,9 +267,6 @@ DataSourceTabPage::DataSourceTabPage(
if( m_pLB_SERIES->First())
m_pLB_SERIES->Select( m_pLB_SERIES->First());
m_pLB_SERIES->GrabFocus();
-
- m_pBTN_UP->SetAccessibleName(SCH_RESSTR(STR_BUTTON_UP));
- m_pBTN_DOWN->SetAccessibleName(SCH_RESSTR(STR_BUTTON_DOWN));
}
DataSourceTabPage::~DataSourceTabPage()
diff --git a/chart2/source/inc/Strings.hrc b/chart2/source/inc/Strings.hrc
index 950050ba228f..9ffe163e620d 100644
--- a/chart2/source/inc/Strings.hrc
+++ b/chart2/source/inc/Strings.hrc
@@ -265,11 +265,8 @@
#define STR_TEXT_DIRECTION_RTL (RID_APP_START + 279)
#define STR_TEXT_DIRECTION_SUPER (RID_APP_START + 280)
-#define STR_BUTTON_UP (RID_APP_START + 500)
-#define STR_BUTTON_DOWN (RID_APP_START + 501)
-
-// ids must not exceed RID_APP_START + 499
-// ids >= RID_APP_START + 500 are defined in glob.hrc
+// There is a gap here due to removed strings
+// RID_APP_START + 500 and RID_APP_START + 501 are removed
// CHART_STRINGS_HRC
#endif