[Libreoffice-commits] core.git: chart2/source
Tomaž Vajngerl
tomaz.vajngerl at collabora.co.uk
Mon May 1 18:35:54 UTC 2017
chart2/source/view/axes/VCartesianAxis.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 23c0b3e13f88d6d71d528777d4f86f50c0766672
Author: Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
Date: Mon May 1 15:10:51 2017 +0200
tdf#107074 uncommenting createLabels for the axis fixes the issue
Quick fix for this bug seems to be to call createLabels again
after creating shapes. The code to position axis label seems to
be quite messy it would be better to greatly refactor the code if
we want to do any enhancement to this code in the future.
Change-Id: I2bc2c3d503944002c538d2d2a5119102c927f3b7
Reviewed-on: https://gerrit.libreoffice.org/37122
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee at gmail.com>
diff --git a/chart2/source/view/axes/VCartesianAxis.cxx b/chart2/source/view/axes/VCartesianAxis.cxx
index 90348c90fcb9..64ada6d2af09 100644
--- a/chart2/source/view/axes/VCartesianAxis.cxx
+++ b/chart2/source/view/axes/VCartesianAxis.cxx
@@ -1846,7 +1846,7 @@ void VCartesianAxis::createShapes()
}
}
- //createLabels();
+ createLabels();
}
} //namespace chart
More information about the Libreoffice-commits
mailing list