Kaydet (Commit) e04c36b4 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Clean up function declarations

Change-Id: I0602166c8e6485b68e06bbcc9f0064938facd3fa
üst 0f9a75a2
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
#include <com/sun/star/document/XEmbeddedScripts.hpp> #include <com/sun/star/document/XEmbeddedScripts.hpp>
#include <com/sun/star/awt/XWindow2.hpp> #include <com/sun/star/awt/XWindow2.hpp>
#include <boost/noncopyable.hpp>
#include <boost/unordered_map.hpp> #include <boost/unordered_map.hpp>
#include <filter/msfilter/msvbahelper.hxx> #include <filter/msfilter/msvbahelper.hxx>
#include <tools/datetime.hxx> #include <tools/datetime.hxx>
...@@ -55,16 +56,12 @@ using namespace ::ooo::vba; ...@@ -55,16 +56,12 @@ using namespace ::ooo::vba;
typedef ::std::pair< OUString, ::std::pair< double, double > > VbaTimerInfo; typedef ::std::pair< OUString, ::std::pair< double, double > > VbaTimerInfo;
// ====VbaTimer================================== // ====VbaTimer==================================
class VbaTimer class VbaTimer: private boost::noncopyable
{ {
Timer m_aTimer; Timer m_aTimer;
VbaTimerInfo m_aTimerInfo; VbaTimerInfo m_aTimerInfo;
::rtl::Reference< VbaApplicationBase > m_xBase; ::rtl::Reference< VbaApplicationBase > m_xBase;
// the following declarations are here to prevent the usage of them
VbaTimer( const VbaTimer& );
VbaTimer& operator=( const VbaTimer& );
public: public:
VbaTimer() VbaTimer()
{} {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment