summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorMuhammet Kara <muhammet.kara@pardus.org.tr>2016-05-26 15:40:31 +0300
committerKatarina Behrens <Katarina.Behrens@cib.de>2016-05-27 09:11:27 +0000
commit7a06806a8d7f541855a90a1eab8f4b7c6539ab63 (patch)
tree4696c9def561c937af5dc5b7e6ac558d1cfe8dd8 /sd
parente4358002ace626c20a9e4069b9417073d09d8140 (diff)
Move accessibility relations to .ui files tdf#87026
Get rid of SetAccessibleRelationLabeledBy and SetAccessibleName in C++ files by moving the relations to .ui files. Change-Id: I8b425a0c7d923ff6f99540f0a6c18112f6f4d0c0 Reviewed-on: https://gerrit.libreoffice.org/25518 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/dlg/prntopts.cxx3
-rw-r--r--sd/uiconfig/simpress/ui/prntopts.ui10
2 files changed, 8 insertions, 5 deletions
diff --git a/sd/source/ui/dlg/prntopts.cxx b/sd/source/ui/dlg/prntopts.cxx
index 41e9bfb01af4..f8c2f8343ebb 100644
--- a/sd/source/ui/dlg/prntopts.cxx
+++ b/sd/source/ui/dlg/prntopts.cxx
@@ -66,9 +66,6 @@ SdPrintOptions::SdPrintOptions( vcl::Window* pParent, const SfxItemSet& rInAttrs
#ifndef MACOSX
SetDrawMode();
#endif
-
- m_pCbxFront->SetAccessibleRelationLabeledBy( m_pRbtBooklet );
- m_pCbxBack->SetAccessibleRelationLabeledBy( m_pRbtBooklet );
}
SdPrintOptions::~SdPrintOptions()
diff --git a/sd/uiconfig/simpress/ui/prntopts.ui b/sd/uiconfig/simpress/ui/prntopts.ui
index 466bd1ff22e4..1d3b9fd34ac1 100644
--- a/sd/uiconfig/simpress/ui/prntopts.ui
+++ b/sd/uiconfig/simpress/ui/prntopts.ui
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!-- Generated with glade 3.16.0 on Wed Jan 8 18:58:38 2014 -->
+<!-- Generated with glade 3.20.0 -->
<interface>
- <!-- interface-requires gtk+ 3.0 -->
+ <requires lib="gtk+" version="3.0"/>
<object class="GtkBox" id="prntopts">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -244,6 +244,9 @@
<property name="use_underline">True</property>
<property name="xalign">0</property>
<property name="draw_indicator">True</property>
+ <accessibility>
+ <relation type="labelled-by" target="brouchrb"/>
+ </accessibility>
</object>
<packing>
<property name="expand">False</property>
@@ -261,6 +264,9 @@
<property name="use_underline">True</property>
<property name="xalign">0</property>
<property name="draw_indicator">True</property>
+ <accessibility>
+ <relation type="labelled-by" target="brouchrb"/>
+ </accessibility>
</object>
<packing>
<property name="expand">False</property>