From 3498fd9fe905c2021fe1298769c8e2025c2d6f39 Mon Sep 17 00:00:00 2001 From: Muhammet Kara Date: Wed, 1 Jun 2016 14:25:03 +0300 Subject: Remove SetAccessibleRelationLabeledBy calls tdf#87026 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit And make proper changes in the related .ui files Change-Id: Iea998b6de25831c08950a8afa725713288113bfa Reviewed-on: https://gerrit.libreoffice.org/25807 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- .../controller/dialogs/tp_3D_SceneGeometry.cxx | 2 -- chart2/uiconfig/ui/tp_3D_SceneGeometry.ui | 37 ++++++++++------------ cui/source/tabpages/paragrph.cxx | 6 ---- cui/source/tabpages/paragrph.hrc | 1 - cui/source/tabpages/paragrph.src | 4 --- cui/uiconfig/ui/textflowpage.ui | 26 +++++++++++---- extensions/source/dbpilots/groupboxwiz.cxx | 1 - .../sabpilot/ui/defaultfieldselectionpage.ui | 8 ++++- sc/source/ui/dbgui/scuiasciiopt.cxx | 3 -- sc/uiconfig/scalc/ui/textimportcsv.ui | 15 ++++++--- 10 files changed, 53 insertions(+), 50 deletions(-) diff --git a/chart2/source/controller/dialogs/tp_3D_SceneGeometry.cxx b/chart2/source/controller/dialogs/tp_3D_SceneGeometry.cxx index 93f17f3f2de2..ae6bfa5fdf2b 100644 --- a/chart2/source/controller/dialogs/tp_3D_SceneGeometry.cxx +++ b/chart2/source/controller/dialogs/tp_3D_SceneGeometry.cxx @@ -143,8 +143,6 @@ ThreeD_SceneGeometry_TabPage::ThreeD_SceneGeometry_TabPage( vcl::Window* pWindow { m_pCbxRightAngledAxes->Enable(false); } - m_pMFPerspective->SetAccessibleName(m_pCbxPerspective->GetText()); - m_pMFPerspective->SetAccessibleRelationLabeledBy(m_pCbxPerspective); } ThreeD_SceneGeometry_TabPage::~ThreeD_SceneGeometry_TabPage() diff --git a/chart2/uiconfig/ui/tp_3D_SceneGeometry.ui b/chart2/uiconfig/ui/tp_3D_SceneGeometry.ui index d492804bc8a0..f89fc13a726f 100644 --- a/chart2/uiconfig/ui/tp_3D_SceneGeometry.ui +++ b/chart2/uiconfig/ui/tp_3D_SceneGeometry.ui @@ -1,6 +1,7 @@ + - + 100 1 @@ -32,55 +33,48 @@ 0 0 2 - 1 True False - 0 _X rotation True MTR_FLD_X_ROTATION:0degrees + 0 0 1 - 1 - 1 True False - 0 _Y rotation True MTR_FLD_Y_ROTATION:0degrees + 0 0 2 - 1 - 1 True False - 0 _Z rotation True MTR_FLD_Z_ROTATION:0degrees + 0 0 3 - 1 - 1 @@ -92,12 +86,13 @@ True 0 True + + + 0 4 - 1 - 1 @@ -106,12 +101,18 @@ False adjustmentPERSPECTIVE + + + + + + Perspective + + 1 4 - 1 - 1 @@ -126,8 +127,6 @@ 1 3 - 1 - 1 @@ -140,8 +139,6 @@ 1 2 - 1 - 1 @@ -154,8 +151,6 @@ 1 1 - 1 - 1 diff --git a/cui/source/tabpages/paragrph.cxx b/cui/source/tabpages/paragrph.cxx index 4b9e7daeeb0e..295a39a1aebc 100644 --- a/cui/source/tabpages/paragrph.cxx +++ b/cui/source/tabpages/paragrph.cxx @@ -1902,12 +1902,6 @@ SvxExtParagraphTabPage::SvxExtParagraphTabPage( vcl::Window* pParent, const SfxI get(m_pWidowRowNo,"spinWidow"); get(m_pWidowRowLabel,"labelWidow"); - m_pApplyCollBox->SetAccessibleRelationLabeledBy(m_pApplyCollBtn); - m_pApplyCollBox->SetAccessibleName(CUI_RES(STR_PAGE_STYLE)); - - m_pOrphanRowNo->SetAccessibleRelationLabeledBy(m_pOrphanBox); - m_pWidowRowNo->SetAccessibleRelationLabeledBy(m_pWidowBox); - // this page needs ExchangeSupport SetExchangeSupport(); diff --git a/cui/source/tabpages/paragrph.hrc b/cui/source/tabpages/paragrph.hrc index 31694ed6cdbb..b59f21355bf8 100644 --- a/cui/source/tabpages/paragrph.hrc +++ b/cui/source/tabpages/paragrph.hrc @@ -22,7 +22,6 @@ // StandardTabPage ---------------------------------------------------------- #define STR_EXAMPLE 5010 -#define STR_PAGE_STYLE 5011 #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/cui/source/tabpages/paragrph.src b/cui/source/tabpages/paragrph.src index c24613414eb0..8c57940dc6b6 100644 --- a/cui/source/tabpages/paragrph.src +++ b/cui/source/tabpages/paragrph.src @@ -26,9 +26,5 @@ String STR_EXAMPLE { Text [ en-US ] = "Example" ; }; -String STR_PAGE_STYLE -{ - Text [ en-US ] = "Page Style" ; -}; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/cui/uiconfig/ui/textflowpage.ui b/cui/uiconfig/ui/textflowpage.ui index c11f30da5b9a..234fbb9a88ef 100644 --- a/cui/uiconfig/ui/textflowpage.ui +++ b/cui/uiconfig/ui/textflowpage.ui @@ -1,5 +1,5 @@ - + @@ -224,10 +224,10 @@ True False - 0 _Type: True comboBreakType + 0 1 @@ -250,11 +250,11 @@ True False - 1 Page _number: True right spinPageNumber + 1 3 @@ -265,11 +265,11 @@ True False - 1 Position: True right comboBreakPosition + 1 3 @@ -280,6 +280,14 @@ True False + + + + + + Page Style + + 2 @@ -425,6 +433,9 @@ True adjustment1 + + + 1 @@ -439,6 +450,9 @@ adjustment1 1 True + + + 1 @@ -449,8 +463,8 @@ True False - 0 lines + 0 2 @@ -461,8 +475,8 @@ True False - 0 lines + 0 2 diff --git a/extensions/source/dbpilots/groupboxwiz.cxx b/extensions/source/dbpilots/groupboxwiz.cxx index eaccdc4e4a05..7a65327e624a 100644 --- a/extensions/source/dbpilots/groupboxwiz.cxx +++ b/extensions/source/dbpilots/groupboxwiz.cxx @@ -335,7 +335,6 @@ namespace dbp announceControls(*m_pDefSelYes, *m_pDefSelNo, *m_pDefSelection); m_pDefSelection->SetDropDownLineCount(10); - m_pDefSelection->SetAccessibleRelationLabeledBy( m_pDefSelYes ); m_pDefSelection->SetStyle(WB_DROPDOWN); } diff --git a/extensions/uiconfig/sabpilot/ui/defaultfieldselectionpage.ui b/extensions/uiconfig/sabpilot/ui/defaultfieldselectionpage.ui index e443ce083a19..d06f0da30593 100644 --- a/extensions/uiconfig/sabpilot/ui/defaultfieldselectionpage.ui +++ b/extensions/uiconfig/sabpilot/ui/defaultfieldselectionpage.ui @@ -1,5 +1,5 @@ - + @@ -40,6 +40,9 @@ 0 True True + + + False @@ -51,6 +54,9 @@ True False + + + False diff --git a/sc/source/ui/dbgui/scuiasciiopt.cxx b/sc/source/ui/dbgui/scuiasciiopt.cxx index cc331b6376e5..3d14c9524d95 100644 --- a/sc/source/ui/dbgui/scuiasciiopt.cxx +++ b/sc/source/ui/dbgui/scuiasciiopt.cxx @@ -449,9 +449,6 @@ ScImportAsciiDlg::ScImportAsciiDlg( vcl::Window* pParent, const OUString& aDatNa mpTableBox->Execute( CSVCMD_NEWCELLTEXTS ); - pEdOther->SetAccessibleName(pCkbOther->GetText()); - pEdOther->SetAccessibleRelationLabeledBy(pCkbOther); - if (meCall == SC_TEXTTOCOLUMNS) { pFtCharSet->Disable(); diff --git a/sc/uiconfig/scalc/ui/textimportcsv.ui b/sc/uiconfig/scalc/ui/textimportcsv.ui index 15f475d796c4..6a19d661e4f4 100644 --- a/sc/uiconfig/scalc/ui/textimportcsv.ui +++ b/sc/uiconfig/scalc/ui/textimportcsv.ui @@ -1,5 +1,5 @@ - + @@ -107,10 +107,10 @@ True False - 0 Ch_aracter set: True charset + 0 0 @@ -121,10 +121,10 @@ True False - 0 _Language: True language + 0 0 @@ -135,10 +135,10 @@ True False - 0 From ro_w: True fromrow + 0 0 @@ -398,6 +398,11 @@ + + + Other + + 1 @@ -420,10 +425,10 @@ True False - 0 Te_xt delimiter: True textdelimiter + 0 0 -- cgit v1.2.3