From e3e6f43bc8c01ca6c3ad87180db2b3e623d8eed4 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 15 Mar 2019 11:19:51 +0000 Subject: clarify that set_visible(true/false) is just show/hide MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ditch duplicate method Change-Id: Iea35d6437f48809a06e093241bddf301f00c502b Reviewed-on: https://gerrit.libreoffice.org/69302 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- svx/source/dialog/hdft.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svx') diff --git a/svx/source/dialog/hdft.cxx b/svx/source/dialog/hdft.cxx index 9fe7f811d9eb..120aa86dbd72 100644 --- a/svx/source/dialog/hdft.cxx +++ b/svx/source/dialog/hdft.cxx @@ -342,7 +342,7 @@ void SvxHFPage::Reset( const SfxItemSet* rSet ) const SfxPoolItem* pExt2 = GetItem(*rSet, SID_ATTR_PAGE_EXT2); if (dynamic_cast(pExt1) && dynamic_cast(pExt2) ) bIsCalc = true; - m_xCntSharedFirstBox->show(!bIsCalc); + m_xCntSharedFirstBox->set_visible(!bIsCalc); // Evaluate header-/footer- attributes const SvxSetItem* pSetItem = nullptr; -- cgit