summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2012-12-11 10:52:28 +0100
committerFridrich Štrba <fridrich.strba@bluewin.ch>2012-12-11 10:54:45 +0100
commit257e1896942a7028f1d0669ac6d4f61f294cb14d (patch)
treeed9eddf366f58ea64ace7d05e76e4b162aeaaed2
parente6b0180a790c0799b089c7ef5c61e246460cf6de (diff)
Fixed line height is in inches :(
-rw-r--r--src/lib/VSDContentCollector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/VSDContentCollector.cpp b/src/lib/VSDContentCollector.cpp
index 64dea82..1d6915a 100644
--- a/src/lib/VSDContentCollector.cpp
+++ b/src/lib/VSDContentCollector.cpp
@@ -526,7 +526,7 @@ void libvisio::VSDContentCollector::_flushText()
break;
}
if ((*paraIt).spLine > 0)
- paraProps.insert("fo:line-height", (*paraIt).spLine, WPX_POINT);
+ paraProps.insert("fo:line-height", (*paraIt).spLine);
else
paraProps.insert("fo:line-height", -(*paraIt).spLine, WPX_PERCENT);