diff --git a/OpenXmlFormats/Shared/Math.cs b/OpenXmlFormats/Shared/Math.cs
index 1a42389ed5..f8bc23ea51 100644
--- a/OpenXmlFormats/Shared/Math.cs
+++ b/OpenXmlFormats/Shared/Math.cs
@@ -617,12 +617,10 @@ public static CT_OnOff Parse(XmlNode node, XmlNamespaceManager namespaceManager)
return ctObj;
}
-
-
internal void Write(StreamWriter sw, string nodeName)
{
sw.WriteStart("m", nodeName);
- if(this.val== ST_OnOff.off||this.val== ST_OnOff.Value0)
+ if(this.val== ST_OnOff.off||this.val== ST_OnOff.False)
XmlHelper.WriteAttribute(sw, "m:val", "0");
else
XmlHelper.WriteAttribute(sw, "m:val", "1");
@@ -655,30 +653,6 @@ public bool valSpecified
}
}
}
-
-
- [Serializable]
- [XmlType(Namespace = "http://schemas.openxmlformats.org/officeDocument/2006/math")]
- public enum ST_OnOff
- {
- ///
- /// False
- ///
- [XmlEnum("0")]
- Value0 = 0,
-
- ///
- /// True
- ///
- [XmlEnum("1")]
- Value1 = 1,
-
- on,
-
-
- off,
- }
-
[Serializable]
@@ -686,7 +660,6 @@ public enum ST_OnOff
[XmlRoot(Namespace = "http://schemas.openxmlformats.org/officeDocument/2006/math", IsNullable = true)]
public class CT_BreakBinSub
{
-
private ST_BreakBinSub valField;
private bool valFieldSpecified;
diff --git a/OpenXmlFormats/Wordprocessing/BaseTypes.cs b/OpenXmlFormats/Wordprocessing/BaseTypes.cs
index c5ae3827b8..9389cc3a42 100644
--- a/OpenXmlFormats/Wordprocessing/BaseTypes.cs
+++ b/OpenXmlFormats/Wordprocessing/BaseTypes.cs
@@ -109,17 +109,6 @@ public enum ST_OnOff
/// True
///
on,
- /////
- ///// False
- /////
- //[XmlEnum("0")]
- //Value0 = 0,
-
- /////
- ///// True
- /////
- //[XmlEnum("1")]
- //Value1 = 1,
///
/// True
@@ -131,7 +120,7 @@ public enum ST_OnOff
/// False
///
[XmlEnum("false")]
- False,
+ False
}
///
/// Long Hexadecimal Number