diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-08-21 14:51:11 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-08-21 14:51:11 +0200 |
commit | 60eeeb9d2fae66f2f2e85ef05feda8022a5af1cf (patch) | |
tree | ad05ae1156d3d0620227f402fd1a04fee41fdc95 /include/svx | |
parent | 1f65b5539872890197718364455c5c0aca083f12 (diff) |
Avoid undefined MSO_LineStyle values outside the enum's value range
Change-Id: Ie9eee91374818cbfbb10a7d91e0fb2114ce140b4
Diffstat (limited to 'include/svx')
-rw-r--r-- | include/svx/msdffdef.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/svx/msdffdef.hxx b/include/svx/msdffdef.hxx index 924ac986b272..420b2478dafe 100644 --- a/include/svx/msdffdef.hxx +++ b/include/svx/msdffdef.hxx @@ -1002,7 +1002,8 @@ enum MSO_LineStyle { mso_lineDouble, // Double lines of equal width mso_lineThickThin, // Double lines, one thick, one thin mso_lineThinThick, // Double lines, reverse order - mso_lineTriple // Three lines, thin, thick, thin + mso_lineTriple, // Three lines, thin, thick, thin + MSO_LineStyle_NONE = USHRT_MAX }; // MSO_LINETYPE - how to "fill" the line contour |