summaryrefslogtreecommitdiff
path: root/writerfilter
diff options
context:
space:
mode:
authorJustin Luth <justin.luth@collabora.com>2020-03-26 09:45:56 +0300
committerJustin Luth <justin_luth@sil.org>2020-04-02 18:51:48 +0200
commitc93b2a24d42b31043e2456b222bcb433175d6ce9 (patch)
tree1aebe8265e734d50820d4ee8d05e5a242af4d3b9 /writerfilter
parent0bff023e1069a11fba16d90b80c6c931b64ebc0a (diff)
NFC ww8/writerfilter: comment fixes and general code cleanup
1.) Confusing to set a default in the CTOR head, and then change it in the body. 2.) fix spelling 3.) clarify somewhat misleading comments. Change-Id: Icb19a8838f1f01310b2dacc8cef7d9f0c67f3e75 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91275 Tested-by: Jenkins Reviewed-by: Justin Luth <justin_luth@sil.org>
Diffstat (limited to 'writerfilter')
-rw-r--r--writerfilter/source/dmapper/PropertyMap.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/writerfilter/source/dmapper/PropertyMap.cxx b/writerfilter/source/dmapper/PropertyMap.cxx
index 23c9aac40dc0..21fd70d662d4 100644
--- a/writerfilter/source/dmapper/PropertyMap.cxx
+++ b/writerfilter/source/dmapper/PropertyMap.cxx
@@ -1180,7 +1180,7 @@ bool SectionPropertyMap::FloatingTableConversion( const DomainMapper_Impl& rDM_I
// here represents this limit.
const sal_Int32 nMagicNumber = 469;
- // If the table's with is smaller than the text area width, text might
+ // If the table's width is smaller than the text area width, text might
// be next to the table and so it should behave as a floating table.
if ( (nTableWidth + nMagicNumber) < nTextAreaWidth )
return true;