[PATCH] Check endMarker even if startMarker is set
Bruno Girin
brunogirin at gmail.com
Sun Jan 15 08:25:12 PST 2012
---
src/lib/VSDXContentCollector.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/lib/VSDXContentCollector.cpp b/src/lib/VSDXContentCollector.cpp
index 2851d3f..db9a02a 100644
--- a/src/lib/VSDXContentCollector.cpp
+++ b/src/lib/VSDXContentCollector.cpp
@@ -455,7 +455,7 @@ void libvisio::VSDXContentCollector::_lineProperties(double strokeWidth, Colour
m_styleProps.insert("draw:marker-start-path", "m10 0-10 30h20z");
m_styleProps.insert("draw:marker-start-width", m_scale*0.118);
}
- else if (endMarker > 0)
+ if (endMarker > 0)
{
m_styleProps.insert("draw:marker-end-viewbox", "0 0 20 30");
m_styleProps.insert("draw:marker-end-path", "m10 0-10 30h20z");
--
1.7.5.4
--------------070103090202000407070907--
More information about the LibreOffice
mailing list