diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-21 19:13:06 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-23 08:16:18 +0200 |
commit | d254f8a926d7d3ec4565d01f7a41ad3d9d7c9e87 (patch) | |
tree | 6f33b99f7344c3861972760428fb974073130d8d /include/svtools/HtmlWriter.hxx | |
parent | 7c08c1af7116346f2dc0b669e231d82f4230a8c7 (diff) |
loplugin:singlevalfields improve unaryoperator
when we see a unaryoperator, unless it's one of a small set, we can
know (mostly) that the field will not be written.
there is still a small risk of false+ with code taking references
via conditional expressions.
Change-Id: I96fa808067576a50e5eaf425338e225b4e0bdd4e
Reviewed-on: https://gerrit.libreoffice.org/53263
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svtools/HtmlWriter.hxx')
-rw-r--r-- | include/svtools/HtmlWriter.hxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/svtools/HtmlWriter.hxx b/include/svtools/HtmlWriter.hxx index 25030f6dffe8..49f2aa6c02f2 100644 --- a/include/svtools/HtmlWriter.hxx +++ b/include/svtools/HtmlWriter.hxx @@ -26,7 +26,6 @@ private: SvStream& mrStream; bool mbElementOpen; - bool mbContentWritten; bool mbCharactersWritten; bool mbPrettyPrint; /// XML namespace, in case of XHTML. |