diff options
author | Noel Grandin <noel@peralex.com> | 2016-02-19 10:52:20 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-02-19 11:23:57 +0000 |
commit | 778e9a65bf5af07c4caeff969a0324e43a78e66b (patch) | |
tree | a5204f0d3eaf2f512a627eeb9e74d42e7e80b54f /svgio/inc | |
parent | vcl: loplugin:staticcall (diff) | |
download | core-778e9a65bf5af07c4caeff969a0324e43a78e66b.tar.gz core-778e9a65bf5af07c4caeff969a0324e43a78e66b.zip |
new loplugin: find write-only fields
Change-Id: I0f83939babacf92485420ee63f290a297d7cb717
Reviewed-on: https://gerrit.libreoffice.org/22498
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svgio/inc')
-rw-r--r-- | svgio/inc/svgio/svgreader/svgtools.hxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/svgio/inc/svgio/svgreader/svgtools.hxx b/svgio/inc/svgio/svgreader/svgtools.hxx index a9dba7f2cdbf..82f6d0034422 100644 --- a/svgio/inc/svgio/svgreader/svgtools.hxx +++ b/svgio/inc/svgio/svgreader/svgtools.hxx @@ -157,22 +157,19 @@ namespace svgio SvgAlign maSvgAlign; /// bitfield - bool mbDefer : 1; // default is false bool mbMeetOrSlice : 1; // true = meet (default), false = slice bool mbSet : 1; public: SvgAspectRatio() : maSvgAlign(Align_xMidYMid), - mbDefer(false), mbMeetOrSlice(true), mbSet(false) { } - SvgAspectRatio(SvgAlign aSvgAlign, bool bDefer, bool bMeetOrSlice) + SvgAspectRatio(SvgAlign aSvgAlign, bool bMeetOrSlice) : maSvgAlign(aSvgAlign), - mbDefer(bDefer), mbMeetOrSlice(bMeetOrSlice), mbSet(true) { |