diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-03-27 15:27:43 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-03-27 15:29:46 +0100 |
commit | b6e2851806c2d56674b6737c4f208e916e677764 (patch) | |
tree | 29896365b2916ce68ec974b64b89b7fa8b73b150 | |
parent | ee6895c61f8c073288bbc73cae105c3c1c36b9f0 (diff) |
sw: avoid warning C4510: WW8_TCellVer6: default constructor could not
... be generated; apparently that class is never instantiated anyway,
just used for casting horribly in WW8TabBandDesc::ReadDef().
Change-Id: I4265d85b43b10135b9425c58b70e42d65d7e2038
-rw-r--r-- | sw/source/filter/ww8/ww8struc.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sw/source/filter/ww8/ww8struc.hxx b/sw/source/filter/ww8/ww8struc.hxx index b13b6c6a3deb..a19b3266c1b4 100644 --- a/sw/source/filter/ww8/ww8struc.hxx +++ b/sw/source/filter/ww8/ww8struc.hxx @@ -238,6 +238,11 @@ struct WW8_BRCVer6 // BoRder Code (WW6 version) // sal_uInt16 ico : 5; // 07C0 color code (see chp.ico) // sal_uInt16 dxpSpace : 5; // F800 width of space to maintain between border and text within border. // Must be 0 when BRC is a substructure of the TC. Stored in points for Windows. + WW8_BRCVer6() + { + memset(aBits1, 0, sizeof(aBits1)); + } + sal_uInt8 dxpLineWidth() const { return aBits1[0] & 0x07; } sal_uInt8 brcType() const |