[Libreoffice-commits] core.git: chart2/source

Marco Cecchetti marco.cecchetti at collabora.com
Mon Feb 9 06:27:02 PST 2015


 chart2/source/view/charttypes/PieChart.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit fab828d1a144b70a75e90e2bac484bc409b1e4e4
Author: Marco Cecchetti <marco.cecchetti at collabora.com>
Date:   Mon Feb 9 14:41:32 2015 +0100

    Fixed a too long comment line.

diff --git a/chart2/source/view/charttypes/PieChart.cxx b/chart2/source/view/charttypes/PieChart.cxx
index c674456..de54a0c 100644
--- a/chart2/source/view/charttypes/PieChart.cxx
+++ b/chart2/source/view/charttypes/PieChart.cxx
@@ -297,7 +297,9 @@ void PieChart::createTextLabelShape(
     //anchor point. This is required in order to ensure that the label is
     //completely outside (inside) the related slice. Indeed this value should
     //depend on the font height.
-    //Pay attention: 150 is not a big offset, in fact the screen position coordinates for label anchor points are in the 10000-20000 range, hence these are coordinates of a virtual screen and 150 is a small value.
+    //Pay attention: 150 is not a big offset, in fact the screen position
+    //coordinates for label anchor points are in the 10000-20000 range, hence
+    //these are coordinates of a virtual screen and 150 is a small value.
     LabelAlignment eAlignment(LABEL_ALIGN_CENTER);
     sal_Int32 nScreenValueOffsetInRadiusDirection = 0 ;
     if( nLabelPlacement == ::com::sun::star::chart::DataLabelPlacement::OUTSIDE )


More information about the Libreoffice-commits mailing list