summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/lwpsdwdrawheader.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'lotuswordpro/source/filter/lwpsdwdrawheader.hxx')
-rw-r--r--lotuswordpro/source/filter/lwpsdwdrawheader.hxx16
1 files changed, 14 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/lwpsdwdrawheader.hxx b/lotuswordpro/source/filter/lwpsdwdrawheader.hxx
index 3153b837aaba..85318afbfb19 100644
--- a/lotuswordpro/source/filter/lwpsdwdrawheader.hxx
+++ b/lotuswordpro/source/filter/lwpsdwdrawheader.hxx
@@ -64,6 +64,7 @@
#include <config_lgpl.h>
#include <sal/types.h>
+#include <vector>
const sal_uInt8 DRAW_FACESIZE = 32;
const double THRESHOLD = 0.0001;
@@ -271,15 +272,26 @@ struct SdwTextBoxRecord
sal_Int16 nTextRotation;
sal_Int16 nTextExtraSpacing;
sal_uInt8* pTextString;
+ SdwTextBoxRecord()
+ : nTextWidth(0)
+ , nTextHeight(0)
+ , nTextSize(0)
+ , tmpTextFaceName{}
+ , nTextAttrs(0)
+ , nTextCharacterSet(0)
+ , nTextRotation(0)
+ , nTextExtraSpacing(0)
+ , pTextString(nullptr)
+ {
+ }
};
struct SdwFMPATH
{
sal_uInt16 n;
- SdwPoint* pPts;
+ std::vector<SdwPoint> aPts;
SdwFMPATH()
: n(0)
- , pPts(nullptr)
{
}
};