diff --git a/schema/schemas.openxmlformats.org/wordprocessingml/CT_Border.go b/schema/schemas.openxmlformats.org/wordprocessingml/CT_Border.go index 78854cde..5678adb4 100644 --- a/schema/schemas.openxmlformats.org/wordprocessingml/CT_Border.go +++ b/schema/schemas.openxmlformats.org/wordprocessingml/CT_Border.go @@ -127,16 +127,14 @@ func (m *CT_Border) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error { if err != nil { return err } - pt := uint64(parsed) - m.SzAttr = &pt + m.SzAttr = &parsed } if attr.Name.Local == "space" { parsed, err := strconv.ParseUint(attr.Value, 10, 64) if err != nil { return err } - pt := uint64(parsed) - m.SpaceAttr = &pt + m.SpaceAttr = &parsed } if attr.Name.Local == "shadow" { parsed, err := ParseUnionST_OnOff(attr.Value) diff --git a/schema/schemas.openxmlformats.org/wordprocessingml/CT_BottomPageBorder.go b/schema/schemas.openxmlformats.org/wordprocessingml/CT_BottomPageBorder.go index b517e33f..e0dbab1f 100644 --- a/schema/schemas.openxmlformats.org/wordprocessingml/CT_BottomPageBorder.go +++ b/schema/schemas.openxmlformats.org/wordprocessingml/CT_BottomPageBorder.go @@ -163,16 +163,14 @@ func (m *CT_BottomPageBorder) UnmarshalXML(d *xml.Decoder, start xml.StartElemen if err != nil { return err } - pt := uint64(parsed) - m.SzAttr = &pt + m.SzAttr = &parsed } if attr.Name.Local == "space" { parsed, err := strconv.ParseUint(attr.Value, 10, 64) if err != nil { return err } - pt := uint64(parsed) - m.SpaceAttr = &pt + m.SpaceAttr = &parsed } if attr.Name.Local == "shadow" { parsed, err := ParseUnionST_OnOff(attr.Value) diff --git a/schema/schemas.openxmlformats.org/wordprocessingml/CT_PageBorder.go b/schema/schemas.openxmlformats.org/wordprocessingml/CT_PageBorder.go index 072a2b2f..0f069a4e 100644 --- a/schema/schemas.openxmlformats.org/wordprocessingml/CT_PageBorder.go +++ b/schema/schemas.openxmlformats.org/wordprocessingml/CT_PageBorder.go @@ -139,16 +139,14 @@ func (m *CT_PageBorder) UnmarshalXML(d *xml.Decoder, start xml.StartElement) err if err != nil { return err } - pt := uint64(parsed) - m.SzAttr = &pt + m.SzAttr = &parsed } if attr.Name.Local == "space" { parsed, err := strconv.ParseUint(attr.Value, 10, 64) if err != nil { return err } - pt := uint64(parsed) - m.SpaceAttr = &pt + m.SpaceAttr = &parsed } if attr.Name.Local == "shadow" { parsed, err := ParseUnionST_OnOff(attr.Value) diff --git a/schema/schemas.openxmlformats.org/wordprocessingml/CT_PixelsMeasure.go b/schema/schemas.openxmlformats.org/wordprocessingml/CT_PixelsMeasure.go index ba102b6d..42f015de 100644 --- a/schema/schemas.openxmlformats.org/wordprocessingml/CT_PixelsMeasure.go +++ b/schema/schemas.openxmlformats.org/wordprocessingml/CT_PixelsMeasure.go @@ -42,7 +42,7 @@ func (m *CT_PixelsMeasure) UnmarshalXML(d *xml.Decoder, start xml.StartElement) if err != nil { return err } - m.ValAttr = uint64(parsed) + m.ValAttr = parsed } } // skip any extensions we may find, but don't support diff --git a/schema/schemas.openxmlformats.org/wordprocessingml/CT_ReadingModeInkLockDown.go b/schema/schemas.openxmlformats.org/wordprocessingml/CT_ReadingModeInkLockDown.go index d1ad7f62..65daf854 100644 --- a/schema/schemas.openxmlformats.org/wordprocessingml/CT_ReadingModeInkLockDown.go +++ b/schema/schemas.openxmlformats.org/wordprocessingml/CT_ReadingModeInkLockDown.go @@ -63,14 +63,14 @@ func (m *CT_ReadingModeInkLockDown) UnmarshalXML(d *xml.Decoder, start xml.Start if err != nil { return err } - m.WAttr = uint64(parsed) + m.WAttr = parsed } if attr.Name.Local == "h" { parsed, err := strconv.ParseUint(attr.Value, 10, 64) if err != nil { return err } - m.HAttr = uint64(parsed) + m.HAttr = parsed } if attr.Name.Local == "fontSz" { parsed, err := ParseUnionST_DecimalNumberOrPercent(attr.Value) diff --git a/schema/schemas.openxmlformats.org/wordprocessingml/CT_TopPageBorder.go b/schema/schemas.openxmlformats.org/wordprocessingml/CT_TopPageBorder.go index 16611c7f..f050679b 100644 --- a/schema/schemas.openxmlformats.org/wordprocessingml/CT_TopPageBorder.go +++ b/schema/schemas.openxmlformats.org/wordprocessingml/CT_TopPageBorder.go @@ -163,16 +163,14 @@ func (m *CT_TopPageBorder) UnmarshalXML(d *xml.Decoder, start xml.StartElement) if err != nil { return err } - pt := uint64(parsed) - m.SzAttr = &pt + m.SzAttr = &parsed } if attr.Name.Local == "space" { parsed, err := strconv.ParseUint(attr.Value, 10, 64) if err != nil { return err } - pt := uint64(parsed) - m.SpaceAttr = &pt + m.SpaceAttr = &parsed } if attr.Name.Local == "shadow" { parsed, err := ParseUnionST_OnOff(attr.Value) diff --git a/schema/schemas.openxmlformats.org/wordprocessingml/CT_UnsignedDecimalNumber.go b/schema/schemas.openxmlformats.org/wordprocessingml/CT_UnsignedDecimalNumber.go index 51a7e831..81225e90 100644 --- a/schema/schemas.openxmlformats.org/wordprocessingml/CT_UnsignedDecimalNumber.go +++ b/schema/schemas.openxmlformats.org/wordprocessingml/CT_UnsignedDecimalNumber.go @@ -42,7 +42,7 @@ func (m *CT_UnsignedDecimalNumber) UnmarshalXML(d *xml.Decoder, start xml.StartE if err != nil { return err } - m.ValAttr = uint64(parsed) + m.ValAttr = parsed } } // skip any extensions we may find, but don't support