From: Fridrich S. <str...@us...> - 2008-12-03 12:16:08
|
Update of /cvsroot/libwpd/libwpd2/src/conv/html In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv794/src/conv/html Modified Files: HtmlDocumentGenerator.cpp Log Message: use double instead of float in WPXProperty* stuff Index: HtmlDocumentGenerator.cpp =================================================================== RCS file: /cvsroot/libwpd/libwpd2/src/conv/html/HtmlDocumentGenerator.cpp,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- HtmlDocumentGenerator.cpp 3 Dec 2008 05:28:07 -0000 1.4 +++ HtmlDocumentGenerator.cpp 3 Dec 2008 12:16:00 -0000 1.5 @@ -142,8 +142,8 @@ if (propList["fo:text-indent"]) *m_pOutputStream << "text-indent:" << propList["fo:text-indent"]->getStr().cstr() << ";"; - if (propList["fo:line-height"] && propList["fo:line-height"]->getFloat() != 1.0f) - *m_pOutputStream << "line-height:" << propList["fo:line-height"]->getFloat() << ";"; + if (propList["fo:line-height"] && propList["fo:line-height"]->getDouble() != 1.0f) + *m_pOutputStream << "line-height:" << propList["fo:line-height"]->getDouble() << ";"; *m_pOutputStream << "\">"; } } |