summaryrefslogtreecommitdiff
path: root/chart2/inc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-01-02 05:08:32 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-01-29 08:09:30 +0100
commit55656ee2e88b7a79a265f43fc3746a7e2186301e (patch)
treeeebc114793896d075fb5f361f01220c5fbfbc1d1 /chart2/inc
parent893a7fc4e494f58d105f567c652bd2b6c6c825f8 (diff)
some improvements for the time based charting
The updating seems to work. It just does not update the references yet. Change-Id: I0a971dbe2beb113c1c3e9ef103d77d5d8c7174a0
Diffstat (limited to 'chart2/inc')
-rw-r--r--chart2/inc/ChartView.hxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/chart2/inc/ChartView.hxx b/chart2/inc/ChartView.hxx
index b1c6b5f3eb25..766563a43c97 100644
--- a/chart2/inc/ChartView.hxx
+++ b/chart2/inc/ChartView.hxx
@@ -45,7 +45,7 @@
#include <boost/shared_ptr.hpp>
#include <boost/ptr_container/ptr_vector.hpp>
-#include <salhelper/thread.hxx>
+#include <vcl/timer.hxx>
class SdrPage;
@@ -68,13 +68,12 @@ struct TimeBasedInfo
TimeBasedInfo():
bTimeBased(false),
nFrame(0),
- eMode(AUTOMATIC),
- mpThread(NULL) {}
+ eMode(AUTOMATIC) {}
bool bTimeBased;
size_t nFrame;
TimeBasedMode eMode;
- salhelper::Thread* mpThread;
+ Timer maTimer;
// only valid when we are in the time based mode
::std::vector< std::vector< VDataSeries* > > m_aDataSeriesList;
@@ -220,6 +219,8 @@ private: //methods
, bool bUseFixedInnerSize
, const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape>& xDiagram_MarkHandles );
+ DECL_LINK( UpdateTimeBased, void* );
+
private: //member
::osl::Mutex m_aMutex;