summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-11-26 21:02:32 +0100
committerStephan Bergmann <sbergman@redhat.com>2019-11-27 08:57:14 +0100
commit08c4679eb588aeca8423060157e282c790c9d2ed (patch)
treea600e129f3e1b0744c1120873b7cb45e3cd1753d
parent8991c3ddb7590263dad03e39d222bd2dd9f5fed0 (diff)
Unused bitfields don't need a name
(found by upcoming loplugin:unusedmember) Change-Id: I1ca74aa2f4758c34fc1eb25f06615c1001933a39 Reviewed-on: https://gerrit.libreoffice.org/83829 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r--sw/source/filter/ww8/ww8par3.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/filter/ww8/ww8par3.cxx b/sw/source/filter/ww8/ww8par3.cxx
index eafe88b8392c..ecdb725c3e76 100644
--- a/sw/source/filter/ww8/ww8par3.cxx
+++ b/sw/source/filter/ww8/ww8par3.cxx
@@ -370,12 +370,12 @@ struct WW8LVL // only THE entries, WE need!
sal_uInt8 nLenGrpprlChpx; // length, in bytes, of the LVL's grpprlChpx
sal_uInt8 nLenGrpprlPapx; // length, in bytes, of the LVL's grpprlPapx
sal_uInt8 nAlign: 2; // alignment (left, right, centered) of the number
- sal_uInt8 bLegal: 1; // doesn't matter
- sal_uInt8 bNoRest:1; // doesn't matter
+ sal_uInt8: 1; // doesn't matter ("bLegal")
+ sal_uInt8: 1; // doesn't matter ("bNoRest")
sal_uInt8 bV6Prev:1; // Ver6-Compatible: number will include previous levels
sal_uInt8 bV6PrSp:1; // Ver6-Compatible: doesn't matter
sal_uInt8 bV6: 1; // if true, pay attention to the V6-Compatible Entries!
- sal_uInt8 bDummy: 1; // (fills the byte)
+ sal_uInt8: 1; // (fills the byte)
};