summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2022-11-02 18:40:09 +0100
committerSzymon Kłos <szymon.klos@collabora.com>2022-11-19 16:45:39 +0100
commit325bab6a92921a0356cc3e1c66f14ad0c6200d85 (patch)
treea27b5776f0d4016af08f1154b78bf8136cfa312e /sc
parent2dd51938908b9856bd1ad4b252cd60805262baa5 (diff)
Dont use equal name for label and widget
Change-Id: I71b052aff4317b416f0c02bde549461b64f1a6f1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142181 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142968 Tested-by: Jenkins Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/inc/inscldlg.hxx1
-rw-r--r--sc/source/ui/miscdlgs/inscldlg.cxx3
2 files changed, 1 insertions, 3 deletions
diff --git a/sc/source/ui/inc/inscldlg.hxx b/sc/source/ui/inc/inscldlg.hxx
index d159c65cd8ac..b44bfb60baa9 100644
--- a/sc/source/ui/inc/inscldlg.hxx
+++ b/sc/source/ui/inc/inscldlg.hxx
@@ -30,7 +30,6 @@ private:
std::unique_ptr<weld::RadioButton> m_xBtnCellsRight;
std::unique_ptr<weld::RadioButton> m_xBtnInsRow;
std::unique_ptr<weld::RadioButton> m_xBtnInsCol;
- std::unique_ptr<weld::Label> m_xLbCellsRight;
public:
ScInsertCellDlg(weld::Window* pParent, bool bDisallowCellMove);
diff --git a/sc/source/ui/miscdlgs/inscldlg.cxx b/sc/source/ui/miscdlgs/inscldlg.cxx
index ac97c6ac3578..e077724f4264 100644
--- a/sc/source/ui/miscdlgs/inscldlg.cxx
+++ b/sc/source/ui/miscdlgs/inscldlg.cxx
@@ -32,11 +32,10 @@ ScInsertCellDlg::ScInsertCellDlg(weld::Window* pParent, bool bDisallowCellMove)
, m_xBtnCellsRight(m_xBuilder->weld_radio_button("right"))
, m_xBtnInsRow(m_xBuilder->weld_radio_button("rows"))
, m_xBtnInsCol(m_xBuilder->weld_radio_button("cols"))
- , m_xLbCellsRight(m_xBuilder->weld_label("right"))
{
const ScViewData* pViewData = ScDocShell::GetViewData();
if (pViewData && pViewData->GetDocument().IsLayoutRTL(pViewData->GetTabNo()))
- m_xLbCellsRight->set_label(ScResId(SCSTR_INSERT_RTL));
+ m_xBtnCellsRight->set_label(ScResId(SCSTR_INSERT_RTL));
if (bDisallowCellMove)
{