summaryrefslogtreecommitdiffstats
path: root/starmath
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-03-15 11:19:51 +0000
committerCaolán McNamara <caolanm@redhat.com>2019-03-16 01:01:33 +0100
commite3e6f43bc8c01ca6c3ad87180db2b3e623d8eed4 (patch)
tree6a3f041c5073bc05e21ff3d1e4f0b194ba655df3 /starmath
parentios widget theme: make corners of widgets more round (rx,ry = 4px) (diff)
downloadcore-e3e6f43bc8c01ca6c3ad87180db2b3e623d8eed4.tar.gz
core-e3e6f43bc8c01ca6c3ad87180db2b3e623d8eed4.zip
clarify that set_visible(true/false) is just show/hide
ditch duplicate method Change-Id: Iea35d6437f48809a06e093241bddf301f00c502b Reviewed-on: https://gerrit.libreoffice.org/69302 Tested-by: Jenkins 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.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx
index dea622fdad57..b8fae68c547a 100644
--- a/starmath/source/dialog.cxx
+++ b/starmath/source/dialog.cxx
@@ -331,7 +331,7 @@ SmFontDialog::SmFontDialog(weld::Window * pParent, OutputDevice *pFntListDevice,
m_xBoldCheckBox->set_sensitive(false);
m_xItalicCheckBox->set_active(false);
m_xItalicCheckBox->set_sensitive(false);
- m_xAttrFrame->show(false);
+ m_xAttrFrame->hide();
}
}
@@ -705,9 +705,9 @@ void SmDistanceDialog::SetCategory(sal_uInt16 nCategory)
// of an associated HelpID is checked
bActive = aCatMf2Hid[nCategory][i] != nullptr;
- pFT->show(bActive);
+ pFT->set_visible(bActive);
pFT->set_sensitive(bActive);
- pMF->show(bActive);
+ pMF->set_visible(bActive);
pMF->set_sensitive(bActive);
// set measurement unit and number of decimal places