From b6e2851806c2d56674b6737c4f208e916e677764 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Thu, 27 Mar 2014 15:27:43 +0100 Subject: 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 --- sw/source/filter/ww8/ww8struc.hxx | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit