[Libreoffice-commits] core.git: sw/source
Michael Stahl
mstahl at redhat.com
Thu Mar 27 07:33:31 PDT 2014
sw/source/filter/ww8/ww8struc.hxx | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit b6e2851806c2d56674b6737c4f208e916e677764
Author: Michael Stahl <mstahl at redhat.com>
Date: Thu Mar 27 15:27:43 2014 +0100
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
diff --git a/sw/source/filter/ww8/ww8struc.hxx b/sw/source/filter/ww8/ww8struc.hxx
index b13b6c6..a19b326 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
More information about the Libreoffice-commits
mailing list