diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-03-15 11:19:51 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-03-16 01:01:33 +0100 |
commit | e3e6f43bc8c01ca6c3ad87180db2b3e623d8eed4 (patch) | |
tree | 6a3f041c5073bc05e21ff3d1e4f0b194ba655df3 /chart2/source/controller/dialogs/res_BarGeometry.cxx | |
parent | ios widget theme: make corners of widgets more round (rx,ry = 4px) (diff) | |
download | core-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 'chart2/source/controller/dialogs/res_BarGeometry.cxx')
-rw-r--r-- | chart2/source/controller/dialogs/res_BarGeometry.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chart2/source/controller/dialogs/res_BarGeometry.cxx b/chart2/source/controller/dialogs/res_BarGeometry.cxx index 128a1bc8ba32..ccd9e7b6c9c6 100644 --- a/chart2/source/controller/dialogs/res_BarGeometry.cxx +++ b/chart2/source/controller/dialogs/res_BarGeometry.cxx @@ -38,10 +38,10 @@ void BarGeometryResources::connect_changed(const Link<weld::TreeView&,void>& rLi m_xLB_Geometry->connect_changed(rLink); } -void BarGeometryResources::show( bool bShow ) +void BarGeometryResources::set_visible( bool bShow ) { - m_xFT_Geometry->show( bShow ); - m_xLB_Geometry->show( bShow ); + m_xFT_Geometry->set_visible( bShow ); + m_xLB_Geometry->set_visible( bShow ); } void BarGeometryResources::set_sensitive( bool bEnable ) |