summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2015-12-20 18:58:33 +0100
committerFridrich Štrba <fridrich.strba@bluewin.ch>2015-12-20 18:58:33 +0100
commit21bf4036d74cde752fc3cea6ce3cd7fca2d27829 (patch)
tree0ec3f64d687bc05e08c9155a83c85d06e6bd3ea3
parent303ad7bc004636c9008d3ca4314b731c6a4f9dde (diff)
Default value of this one is 0.25 inch
Change-Id: Ifffa10e36836a27a48b74b19c9a947a99d1d0bd6
-rw-r--r--src/lib/VSDContentCollector.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/VSDContentCollector.cpp b/src/lib/VSDContentCollector.cpp
index 8854ddf..190eb84 100644
--- a/src/lib/VSDContentCollector.cpp
+++ b/src/lib/VSDContentCollector.cpp
@@ -3382,7 +3382,10 @@ void libvisio::VSDContentCollector::_listLevelFromBullet(librevenge::RVNGPropert
propList.insert("librevenge:level", 1);
propList.insert("text:bullet-char", bullet.m_bulletStr);
propList.insert("fo:font-size", 1.0, librevenge::RVNG_PERCENT);
- propList.insert("text:min-label-width", bullet.m_textPosAfterBullet);
+ if (bullet.m_textPosAfterBullet > 0.0)
+ propList.insert("text:min-label-width", bullet.m_textPosAfterBullet);
+ else
+ propList.insert("text:min-label-width", 0.25);
}
/* vim:set shiftwidth=2 softtabstop=2 expandtab: */