summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2020-01-14 10:44:34 +0100
committerMiklos Vajna <vmiklos@collabora.com>2020-01-14 15:32:33 +0100
commit03fd45dce6afa83fc1fcbcd890edb36affd61981 (patch)
tree20b3615d38c6689ac3398747392b8c46568a916c /sw
parent47c0d10b02f6f89ef11f5eb6ce86efb5edb69f30 (diff)
sw html filter: rework Yoda-style comments
Change-Id: Ia71769f19298331c674120a3d413b85201a03e6d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86747 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/html/wrthtml.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/html/wrthtml.cxx b/sw/source/filter/html/wrthtml.cxx
index 0aae69b16f93..744da9ec6257 100644
--- a/sw/source/filter/html/wrthtml.cxx
+++ b/sw/source/filter/html/wrthtml.cxx
@@ -1052,7 +1052,7 @@ const SwPageDesc *SwHTMLWriter::MakeHeader( sal_uInt16 &rHeaderAttrs )
}
// and now ... the BASIC and JavaScript!
- if( m_pDoc->GetDocShell() ) // only with DocShell BASIC is possible
+ if( m_pDoc->GetDocShell() ) // BASIC is possible only in case we have a DocShell
OutBasic(*this);
DecIndentLevel(); // indent content of <HEAD>
@@ -1094,7 +1094,7 @@ const SwPageDesc *SwHTMLWriter::MakeHeader( sal_uInt16 &rHeaderAttrs )
OutCSS1_BodyTagStyleOpt( *this, rItemSet );
}
// append events
- if( m_pDoc->GetDocShell() ) // only with DocShell BASIC is possible
+ if( m_pDoc->GetDocShell() ) // BASIC is possible only in case we have a DocShell
OutBasicBodyEvents();
Strm().WriteChar( '>' );