summaryrefslogtreecommitdiff
path: root/chart2/source/view/charttypes/GL3DBarChart.cxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-09-23 13:46:23 -0400
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-09-23 13:54:56 -0400
commit3a4f5b47222a399d0745c4ae5eb000f4e75a7041 (patch)
tree277cddb2316edb88f8dbf500adcd8f6c9ea17459 /chart2/source/view/charttypes/GL3DBarChart.cxx
parenteae5d8de6dde0ea4dd1494b0e1f036789b7c6220 (diff)
This guard blocks main loop.
And I've been told that by design the main thread doesn't need to be aware of the rendering threads, so no need to take mutex here. Change-Id: I78ec348ccc28dd67284ecdfccebb915cc1942fa8
Diffstat (limited to 'chart2/source/view/charttypes/GL3DBarChart.cxx')
-rw-r--r--chart2/source/view/charttypes/GL3DBarChart.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/chart2/source/view/charttypes/GL3DBarChart.cxx b/chart2/source/view/charttypes/GL3DBarChart.cxx
index 5a05323bdb78..625ee69e734e 100644
--- a/chart2/source/view/charttypes/GL3DBarChart.cxx
+++ b/chart2/source/view/charttypes/GL3DBarChart.cxx
@@ -1176,7 +1176,6 @@ int GL3DBarChart::calcTimeInterval(TimeValue &startTime, TimeValue &endTime)
void GL3DBarChart::updateScreenText()
{
SharedResourceAccess(maCond1, maCond2);
- osl::MutexGuard aGuard(maMutex);
maScreenTextShapes.clear();
mpRenderer->ReleaseScreenTextShapes();
updateRenderFPS();