diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-18 08:05:10 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-18 12:35:08 +0200 |
commit | 25cce7cd249379f0a98fddc63327b38bd2e48882 (patch) | |
tree | 6f724f7b04e2df6bc7547d1963cd1e87e3ac39f5 /svtools/source/contnr | |
parent | b68f4ff85bc1d6e008facbc310ddbfb5d799b7a5 (diff) |
Revert "loplugin:unusedmethods"
This reverts commit 7990680e92e4fba376ef4f9346d1bc53661bde30.
screenshot build is failing
Change-Id: Idfe4cac73edaf9be1e704c0bd734e858643defda
Reviewed-on: https://gerrit.libreoffice.org/77654
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools/source/contnr')
-rw-r--r-- | svtools/source/contnr/simptabl.cxx | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/svtools/source/contnr/simptabl.cxx b/svtools/source/contnr/simptabl.cxx index 32e7deba1370..27aa905a0abf 100644 --- a/svtools/source/contnr/simptabl.cxx +++ b/svtools/source/contnr/simptabl.cxx @@ -242,6 +242,21 @@ void SvSimpleTable::InsertHeaderEntry(const OUString& rText, SetTabs(); } +void SvSimpleTable::EnableTable() +{ + m_rParentTableContainer.Enable(); +} + +void SvSimpleTable::DisableTable() +{ + m_rParentTableContainer.Disable(); +} + +bool SvSimpleTable::IsEnabled() const +{ + return m_rParentTableContainer.IsEnabled(); +} + void SvSimpleTable::SortByCol(sal_uInt16 nCol, bool bDir) { if(nSortCol!=0xFFFF) |