summaryrefslogtreecommitdiff
path: root/sw/source/filter/html
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2020-08-28 13:22:52 +0200
committerJulien Nabet <serval2412@yahoo.fr>2020-08-31 10:13:15 +0200
commitc9c2ce986de8ddf507bad1689d32d831875109f5 (patch)
treeaa54354c7eb422ed759409fd26113019cea5945f /sw/source/filter/html
parent0c5ac9d1cb39eac838a612092a8934a6ca12326f (diff)
Fix typo in code
It passed "make check" on Linux Change-Id: Id8f549f69b5007ced62401130894f795dde8fb80 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101616 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sw/source/filter/html')
-rw-r--r--sw/source/filter/html/htmlatr.cxx6
-rw-r--r--sw/source/filter/html/wrthtml.cxx4
-rw-r--r--sw/source/filter/html/wrthtml.hxx2
3 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/filter/html/htmlatr.cxx b/sw/source/filter/html/htmlatr.cxx
index e543026e2a2d..dd55897b2d8d 100644
--- a/sw/source/filter/html/htmlatr.cxx
+++ b/sw/source/filter/html/htmlatr.cxx
@@ -2226,7 +2226,7 @@ Writer& OutHTML_SwTextNode( Writer& rWrt, const SwContentNode& rNode )
// now it's a good opportunity again for an LF - if it is still allowed
if( rHTMLWrt.m_bLFPossible &&
- rHTMLWrt.GetLineLen() >= rHTMLWrt.m_nWhishLineLen )
+ rHTMLWrt.GetLineLen() >= rHTMLWrt.m_nWishLineLen )
{
rHTMLWrt.OutNewLine();
}
@@ -2463,8 +2463,8 @@ Writer& OutHTML_SwTextNode( Writer& rWrt, const SwContentNode& rNode )
nWordLen = nEnd;
nWordLen -= nStrPos;
- if( nLineLen >= rHTMLWrt.m_nWhishLineLen ||
- (nLineLen+nWordLen) >= rHTMLWrt.m_nWhishLineLen )
+ if( nLineLen >= rHTMLWrt.m_nWishLineLen ||
+ (nLineLen+nWordLen) >= rHTMLWrt.m_nWishLineLen )
{
HTMLOutFuncs::FlushToAscii( rWrt.Strm(), aContext );
rHTMLWrt.OutNewLine();
diff --git a/sw/source/filter/html/wrthtml.cxx b/sw/source/filter/html/wrthtml.cxx
index 877d1a1c63cb..d89515215236 100644
--- a/sw/source/filter/html/wrthtml.cxx
+++ b/sw/source/filter/html/wrthtml.cxx
@@ -114,7 +114,7 @@ SwHTMLWriter::SwHTMLWriter( const OUString& rBaseURL, const OUString& rFilterOpt
, m_nDfltTopMargin(0)
, m_nDfltBottomMargin(0)
, m_nIndentLvl(0)
- , m_nWhishLineLen(0)
+ , m_nWishLineLen(0)
, m_nDefListLvl(0)
, m_nDefListMargin(0)
, m_nHeaderFooterSpace(0)
@@ -357,7 +357,7 @@ ErrCode SwHTMLWriter::WriteStream()
m_bFirstCSS1Property = m_bFirstCSS1Rule = false;
m_bCSS1IgnoreFirstPageDesc = false;
m_nIndentLvl = 0;
- m_nWhishLineLen = 70;
+ m_nWishLineLen = 70;
m_nLastLFPos = 0;
m_nDefListLvl = 0;
m_nDefListMargin = ((m_xTemplate.is() && !m_bCfgOutStyles) ? m_xTemplate.get() : m_pDoc)
diff --git a/sw/source/filter/html/wrthtml.hxx b/sw/source/filter/html/wrthtml.hxx
index ffc416f22662..f3d9ec706149 100644
--- a/sw/source/filter/html/wrthtml.hxx
+++ b/sw/source/filter/html/wrthtml.hxx
@@ -320,7 +320,7 @@ public:
sal_uInt16 m_nDfltTopMargin; // defaults which doesn't have to be
sal_uInt16 m_nDfltBottomMargin; // written (from template)
sal_uInt16 m_nIndentLvl; // How far is it indented?
- sal_Int32 m_nWhishLineLen; // How long can a line be?
+ sal_Int32 m_nWishLineLen; // How long can a line be?
sal_uInt16 m_nDefListLvl; // which DL level exists now
sal_Int32 m_nDefListMargin; // How far is the indentation in DL
sal_uInt16 m_nHeaderFooterSpace;