summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-05-04 14:53:11 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-05-04 22:12:46 +0200
commit0920b04bca3d58d89b026bcf999ea43d0e855715 (patch)
treee819560b7822cda8cd76a0494a4ec6135f3585a9 /starmath
parent2cab4acbe2aaaee6e5b9afeb68f3e555ecff2ec7 (diff)
weld SwOutlineTabDialog
Change-Id: I55c0e9a62dd9dd970a87ef295bb5fbb82c80d2d8 Reviewed-on: https://gerrit.libreoffice.org/53848 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/dialog.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx
index 7713cd475b05..6843cebfaea8 100644
--- a/starmath/source/dialog.cxx
+++ b/starmath/source/dialog.cxx
@@ -725,7 +725,7 @@ void SmDistanceDialog::SetCategory(sal_uInt16 nCategory)
if (nActiveCategory == 5)
bScaleAllBrackets = m_xCheckBox1->get_active();
- m_xMenuButton->set_active("menuitem" + OString::number(nActiveCategory + 1), false);
+ m_xMenuButton->set_item_active("menuitem" + OString::number(nActiveCategory + 1), false);
}
// activation/deactivation of the associated controls depending on the chosen category
@@ -784,7 +784,7 @@ void SmDistanceDialog::SetCategory(sal_uInt16 nCategory)
m_xMetricField4->set_sensitive( bChecked );
}
- m_xMenuButton->set_active("menuitem" + OString::number(nCategory + 1), true);
+ m_xMenuButton->set_item_active("menuitem" + OString::number(nCategory + 1), true);
m_xFrame->set_label(Categories[nCategory]->GetName());
nActiveCategory = nCategory;