summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-08-21 14:51:11 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-08-21 14:51:11 +0200
commit60eeeb9d2fae66f2f2e85ef05feda8022a5af1cf (patch)
treead05ae1156d3d0620227f402fd1a04fee41fdc95 /filter
parent1f65b5539872890197718364455c5c0aca083f12 (diff)
Avoid undefined MSO_LineStyle values outside the enum's value range
Change-Id: Ie9eee91374818cbfbb10a7d91e0fb2114ce140b4
Diffstat (limited to 'filter')
-rw-r--r--filter/source/msfilter/msdffimp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx
index 4764533a02a2..9f01e10fb3eb 100644
--- a/filter/source/msfilter/msdffimp.cxx
+++ b/filter/source/msfilter/msdffimp.cxx
@@ -5357,7 +5357,7 @@ SdrObject* SvxMSDffManager::ProcessObj(SvStream& rSt,
? (MSO_LineStyle)GetPropertyValue(
DFF_Prop_lineStyle,
mso_lineSimple )
- : (MSO_LineStyle)USHRT_MAX;
+ : MSO_LineStyle_NONE;
pTextImpRec->eLineStyle = pImpRec->eLineStyle;
pImpRec->eLineDashing = (MSO_LineDashing)GetPropertyValue(