summaryrefslogtreecommitdiff
path: root/sw/source/filter/html
diff options
context:
space:
mode:
authorJustin Luth <justin.luth@collabora.com>2019-11-15 20:32:29 +0300
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-05-13 08:59:45 +0200
commit69708eeced1d27f79b230405b21ef40e0e5bd765 (patch)
tree0489811846aeac847ba25194c86a68c715feeea5 /sw/source/filter/html
parent47c81498c63ae71a351f43ec2f073ba92d99fc1d (diff)
NFC sw: cleanup and make RES_POOLTABSTYLE_DEFAULT consistent
It was introduced in 2016, and shortly thereafter many other styles were added using the full word TABLE. So make this one consistent since the eye just glances over the difference. In fact, in one place a comment even referred it it as _TABLESTYLE_DEFAULT. At first I was going to limit the change to just the one term, but the number of reference for everything was fairly small, so I just made everything consistent. Change-Id: I57cc0d081c4bbd5bcea872259065af483c94a334 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/82997 Tested-by: Jenkins Reviewed-by: Justin Luth <justin_luth@sil.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/filter/html')
-rw-r--r--sw/source/filter/html/htmltab.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/html/htmltab.cxx b/sw/source/filter/html/htmltab.cxx
index 30ca53a3fc9e..c42bc5eedfd2 100644
--- a/sw/source/filter/html/htmltab.cxx
+++ b/sw/source/filter/html/htmltab.cxx
@@ -1484,7 +1484,7 @@ void HTMLTable::FixFrameFormat( SwTableBox *pBox,
// the same.
SwTableAutoFormatTable& rTable = m_pParser->GetDoc()->GetTableStyles();
SwTableAutoFormat* pTableFormat = rTable.FindAutoFormat(
- SwStyleNameMapper::GetUIName(RES_POOLTABSTYLE_DEFAULT, OUString()));
+ SwStyleNameMapper::GetUIName(RES_POOLTABLESTYLE_DEFAULT, OUString()));
if (pTableFormat)
{
sal_uInt8 nPos = SwTableAutoFormat::CountPos(nCol, m_nCols, nRow, m_nRows);