[Libreoffice-commits] core.git: sw/source
Miklos Vajna (via logerrit)
logerrit at kemper.freedesktop.org
Tue Jan 14 14:33:08 UTC 2020
sw/source/filter/html/wrthtml.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 03fd45dce6afa83fc1fcbcd890edb36affd61981
Author: Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Tue Jan 14 10:44:34 2020 +0100
Commit: Miklos Vajna <vmiklos at collabora.com>
CommitDate: Tue Jan 14 15:32:33 2020 +0100
sw html filter: rework Yoda-style comments
Change-Id: Ia71769f19298331c674120a3d413b85201a03e6d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86747
Reviewed-by: Miklos Vajna <vmiklos at collabora.com>
Tested-by: Jenkins
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( '>' );
More information about the Libreoffice-commits
mailing list