diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-26 08:37:40 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-26 11:20:07 +0200 |
commit | c0cc59adca23580864a2e5cdadf66212246cbfcc (patch) | |
tree | 57413c8efb3ca4a59f3699592353da1c575e345d /include/svtools | |
parent | 4bf2052e9dbdfcd32a749747c918f2d714010633 (diff) |
loplugin:singlevalfields improvement
look for any kind of types, not just POD types, helps to find
smart pointer fields that are only assigned nullptr
Change-Id: I2d887e98db012f03b646e1023985bcc196285abc
Reviewed-on: https://gerrit.libreoffice.org/62382
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svtools')
-rw-r--r-- | include/svtools/ctrlbox.hxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/svtools/ctrlbox.hxx b/include/svtools/ctrlbox.hxx index b6016faabfbb..7849cdfad9ac 100644 --- a/include/svtools/ctrlbox.hxx +++ b/include/svtools/ctrlbox.hxx @@ -445,8 +445,7 @@ private: class SVT_DLLPUBLIC FontSizeBox : public MetricBox { FontMetric aFontMetric; - bool bRelative:1, - bStdSize:1; + bool bStdSize:1; using Window::ImplInit; SVT_DLLPRIVATE void ImplInit(); |