Compare commits

..

5 Commits

2 changed files with 5 additions and 2 deletions

View File

@ -930,8 +930,8 @@ void odf_drawing_context::end_shape()
{
std::wstring strTransform;
odf_types::length x11 = (line->draw_line_attlist_.svg_x1_.get() + line->draw_line_attlist_.svg_x2_.get()) / 2;
odf_types::length y11 = (line->draw_line_attlist_.svg_y1_.get() + line->draw_line_attlist_.svg_y2_.get()) / 2;
odf_types::length x11 = odf_types::length((line->draw_line_attlist_.svg_x1_->get_value() + line->draw_line_attlist_.svg_x2_->get_value()) / 2., line->draw_line_attlist_.svg_x2_->get_unit());
odf_types::length y11 = odf_types::length((line->draw_line_attlist_.svg_y1_->get_value() + line->draw_line_attlist_.svg_y2_->get_value()) / 2., line->draw_line_attlist_.svg_y2_->get_unit());
//if (impl_->current_drawing_state_.in_group_)
{

View File

@ -41,6 +41,9 @@ X2tConverter.depends = \
OdfFileWriterLib \
XlsFormatLib
# build the project sequentially as listed in SUBDIRS !
CONFIG += ordered
# for run in qt from this solution
LIBS += -L$$CORE_BUILDS_LIBRARIES_PATH
include(../../../Common/3dParty/icu/icu.pri)