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 #include +#include #include #include #include @@ -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() {}