diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-04-14 14:23:11 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-04-14 14:23:33 +0200 |
commit | e04c36b4591ffa457f3072ea8d3c0c72211d20c7 (patch) | |
tree | e239ada200587bb0d40a41b06a113f1efd37d50d /vbahelper | |
parent | 0f9a75a2c5cadc23a853f919bed8faccd2baf004 (diff) |
Clean up function declarations
Change-Id: I0602166c8e6485b68e06bbcc9f0064938facd3fa
Diffstat (limited to 'vbahelper')
-rw-r--r-- | vbahelper/source/vbahelper/vbaapplicationbase.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/vbahelper/source/vbahelper/vbaapplicationbase.cxx b/vbahelper/source/vbahelper/vbaapplicationbase.cxx index af4febcc537d..88b7052be560 100644 --- a/vbahelper/source/vbahelper/vbaapplicationbase.cxx +++ b/vbahelper/source/vbahelper/vbaapplicationbase.cxx @@ -33,6 +33,7 @@ #include <com/sun/star/document/XEmbeddedScripts.hpp> #include <com/sun/star/awt/XWindow2.hpp> +#include <boost/noncopyable.hpp> #include <boost/unordered_map.hpp> #include <filter/msfilter/msvbahelper.hxx> #include <tools/datetime.hxx> @@ -55,16 +56,12 @@ using namespace ::ooo::vba; typedef ::std::pair< OUString, ::std::pair< double, double > > VbaTimerInfo; // ====VbaTimer================================== -class VbaTimer +class VbaTimer: private boost::noncopyable { Timer m_aTimer; VbaTimerInfo m_aTimerInfo; ::rtl::Reference< VbaApplicationBase > m_xBase; - // the following declarations are here to prevent the usage of them - VbaTimer( const VbaTimer& ); - VbaTimer& operator=( const VbaTimer& ); - public: VbaTimer() {} |