summaryrefslogtreecommitdiff
path: root/chart2/source
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-07-30 21:42:54 +0200
committerMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-07-30 21:45:26 +0200
commitde674248740abbecc2a469d90aa61cba163bcd3f (patch)
treee0f5a6cd8c5f52dbedde00449e696ade0f8128a9 /chart2/source
parent53cb769e2e1dd62b25787cf654b532a05b6b51b5 (diff)
fix spelling error
Change-Id: Id9b7abfed70c33eb3cd12e0976f55be232ce3ca5
Diffstat (limited to 'chart2/source')
-rw-r--r--chart2/source/view/charttypes/GL3DBarChart.cxx16
-rw-r--r--chart2/source/view/inc/GL3DBarChart.hxx2
2 files changed, 9 insertions, 9 deletions
diff --git a/chart2/source/view/charttypes/GL3DBarChart.cxx b/chart2/source/view/charttypes/GL3DBarChart.cxx
index da0db01655fe..6091137b3118 100644
--- a/chart2/source/view/charttypes/GL3DBarChart.cxx
+++ b/chart2/source/view/charttypes/GL3DBarChart.cxx
@@ -215,7 +215,7 @@ void RenderBenchMarkThread::MoveCamera()
{
mnStep = 0;
mbExecuting = false;
- mpChart->maRenderEvent = EVENT_NON;
+ mpChart->maRenderEvent = EVENT_NONE;
}
}
@@ -226,7 +226,7 @@ void RenderBenchMarkThread::MoveToDefault()
{
mnStep = 0;
mbExecuting = false;
- mpChart->maRenderEvent = EVENT_NON;
+ mpChart->maRenderEvent = EVENT_NONE;
return;
}
if (!mbExecuting)
@@ -251,7 +251,7 @@ void RenderBenchMarkThread::MoveToBar()
std::map<sal_uInt32, const GL3DBarChart::BarInformation>::const_iterator itr = mpChart->maBarMap.find(mpChart->mSelectBarId);
if(itr == mpChart->maBarMap.end())
{
- mpChart->maRenderEvent = EVENT_NON;
+ mpChart->maRenderEvent = EVENT_NONE;
mpChart->maClickCond.set();
return;
}
@@ -286,7 +286,7 @@ void RenderBenchMarkThread::MoveToCorner()
void RenderBenchMarkThread::ProcessScroll()
{
//will add other process later
- mpChart->maRenderEvent = EVENT_NON;
+ mpChart->maRenderEvent = EVENT_NONE;
}
@@ -348,7 +348,7 @@ GL3DBarChart::GL3DBarChart(
mbNeedsNewRender(true),
mbCameraInit(false),
mbRenderDie(false),
- maRenderEvent(EVENT_NON)
+ maRenderEvent(EVENT_NONE)
{
Size aSize = mrWindow.GetSizePixel();
mpRenderer->SetSize(aSize);
@@ -622,7 +622,7 @@ void GL3DBarChart::moveToDefault()
if(BENCH_MARK_MODE)
{
// add correct handling here!!
- if (maRenderEvent != EVENT_NON)
+ if (maRenderEvent != EVENT_NONE)
return;
{
@@ -663,7 +663,7 @@ void GL3DBarChart::clickedAt(const Point& rPos, sal_uInt16 nButtons)
if (BENCH_MARK_MODE)
{
// add correct handling here !!
- if (maRenderEvent != EVENT_NON)
+ if (maRenderEvent != EVENT_NONE)
return;
{
@@ -732,7 +732,7 @@ void GL3DBarChart::mouseDragMove(const Point& rStartPos, const Point& rEndPos, s
{
long direction = rEndPos.X() - rStartPos.X();
osl::MutexGuard aGuard(maMutex);
- if (maRenderEvent == EVENT_NON)
+ if (maRenderEvent == EVENT_NONE)
maRenderEvent = direction > 0 ? EVENT_DRAG_RIGHT : EVENT_DRAG_LEFT;
if(direction < 0)
{
diff --git a/chart2/source/view/inc/GL3DBarChart.hxx b/chart2/source/view/inc/GL3DBarChart.hxx
index 701d50b81952..1969290e271e 100644
--- a/chart2/source/view/inc/GL3DBarChart.hxx
+++ b/chart2/source/view/inc/GL3DBarChart.hxx
@@ -40,7 +40,7 @@ class Camera;
enum RenderEventType
{
- EVENT_NON,
+ EVENT_NONE,
EVENT_CLICK,
EVENT_MOVE_TO_DEFAULT,
EVENT_DRAG_LEFT,