1 --- a/src/lib/VSDContentCollector.cpp
2 +++ b/src/lib/VSDContentCollector.cpp
3 @@ -2256,14 +2256,14 @@
4 styleProps.insert("draw:marker-start-viewbox", _linePropertiesMarkerViewbox(style.startMarker));
5 styleProps.insert("draw:marker-start-path", _linePropertiesMarkerPath(style.startMarker));
6 double w = m_scale*_linePropertiesMarkerScale(style.startMarker)*(0.1/(style.width*style.width+1)+2.54*style.width);
7 - styleProps.insert("draw:marker-start-width", std::max(w, 0.05));
8 + styleProps.insert("draw:marker-start-width", (std::max)(w, 0.05));
10 if (style.endMarker > 0)
12 styleProps.insert("draw:marker-end-viewbox", _linePropertiesMarkerViewbox(style.endMarker));
13 styleProps.insert("draw:marker-end-path", _linePropertiesMarkerPath(style.endMarker));
14 double w = m_scale*_linePropertiesMarkerScale(style.endMarker)*(0.1/(style.width*style.width+1)+2.54*style.width);
15 - styleProps.insert("draw:marker-end-width", std::max(w, 0.05));
16 + styleProps.insert("draw:marker-end-width", (std::max)(w, 0.05));