summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-01-25 16:05:58 -0500
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-01-25 16:59:57 -0500
commit339f1cb3c2d9842a823f24dfa1cd872b92cd5b88 (patch)
treef50e883b12306c44a1c41a84e6b9a0aa2b228390 /chart2
parent8b660baccf969b44fc404578efadaff5e5c8850e (diff)
Make these classes explicitly non-copyable.
Change-Id: I0dcf277a1b72afe294874b42efaf0b24e1b25b8c
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/view/inc/VDataSeries.hxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/chart2/source/view/inc/VDataSeries.hxx b/chart2/source/view/inc/VDataSeries.hxx
index bdf9a3ed9354..ea0a6b816fb2 100644
--- a/chart2/source/view/inc/VDataSeries.hxx
+++ b/chart2/source/view/inc/VDataSeries.hxx
@@ -36,10 +36,12 @@
#include <com/sun/star/drawing/XShapes.hpp>
#include <cppuhelper/weakref.hxx>
+#include <boost/noncopyable.hpp>
+
namespace chart
{
-class VDataSequence
+class VDataSequence : boost::noncopyable
{
public:
void init( const ::com::sun::star::uno::Reference<
@@ -57,7 +59,7 @@ public:
mutable ::com::sun::star::uno::Sequence< double > Doubles;
};
-class VDataSeries
+class VDataSeries : boost::noncopyable
{
public:
VDataSeries( const ::com::sun::star::uno::Reference<