[Libreoffice-commits] libvisio.git: src/lib
Fridrich Štrba
fridrich.strba at bluewin.ch
Sun Dec 20 09:58:55 PST 2015
src/lib/VSDContentCollector.cpp | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
New commits:
commit 21bf4036d74cde752fc3cea6ce3cd7fca2d27829
Author: Fridrich Štrba <fridrich.strba at bluewin.ch>
Date: Sun Dec 20 18:58:33 2015 +0100
Default value of this one is 0.25 inch
Change-Id: Ifffa10e36836a27a48b74b19c9a947a99d1d0bd6
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: */
More information about the Libreoffice-commits
mailing list