summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2017-05-01 15:10:51 +0200
committerTomaž Vajngerl <quikee@gmail.com>2017-05-01 20:35:23 +0200
commit23c0b3e13f88d6d71d528777d4f86f50c0766672 (patch)
treecae6a325bf0138e8368017366a7f473ec8f355bb
parent0d50845c4299a1b9564d65464fbf3997d598d6d1 (diff)
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@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
-rw-r--r--chart2/source/view/axes/VCartesianAxis.cxx2
1 files changed, 1 insertions, 1 deletions
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