sc/source/filter/excel/xichart.cxx | 5 +++++ 1 file changed, 5 insertions(+)
New commits: commit e9512baf22219e5073207bcce5f9e62dc6a8badc Author: Muthu Subramanian <sumu...@suse.com> Date: Mon May 14 16:11:06 2012 +0530 n720443: Ignore autorotation of chart labels. If there is a suggested rotation value for the axis, it might be better to ignore the autorotation bool. A better approach would be to improve our autorotation algo. diff --git a/sc/source/filter/excel/xichart.cxx b/sc/source/filter/excel/xichart.cxx index 5503c21..6331865 100644 --- a/sc/source/filter/excel/xichart.cxx +++ b/sc/source/filter/excel/xichart.cxx @@ -3194,6 +3194,11 @@ Color XclImpChTick::GetFontColor() const sal_uInt16 XclImpChTick::GetRotation() const { + /* n#720443: Ignore auto-rotation if there is a suggested rotation. + * Better fix would be to improve our axis auto rotation algorithm. + */ + if( maData.mnRotation != EXC_ROT_NONE ) + return maData.mnRotation; return ::get_flag( maData.mnFlags, EXC_CHTICK_AUTOROT ) ? EXC_CHART_AUTOROTATION : maData.mnRotation; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits