diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-08-18 18:38:23 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-08-18 18:38:23 +0200 |
commit | b4454c19c424d50b75fff8ef2965c5cf379c8558 (patch) | |
tree | aae6b0772ffb1e95feb117bef8e6342567e44e20 /chart2 | |
parent | 759f5d24b09dda2bcd41274f0b9cd9222180c194 (diff) |
Generally better to have DLLPUBLIC class with some DLLPRIVATE members
...in the same vein as 80a1a2599e04142683d2286d0e32d0e13fb45de3.
Change-Id: I181d54475d82e2a01a56f48a13ac42dbad876d2c
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/inc/LifeTime.hxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/chart2/source/inc/LifeTime.hxx b/chart2/source/inc/LifeTime.hxx index 1fd93e871fdf..edcdcab0806a 100644 --- a/chart2/source/inc/LifeTime.hxx +++ b/chart2/source/inc/LifeTime.hxx @@ -33,29 +33,29 @@ namespace apphelper { class LifeTimeGuard; -class LifeTimeManager +class OOO_DLLPUBLIC_CHARTTOOLS LifeTimeManager { friend class LifeTimeGuard; protected: mutable ::osl::Mutex m_aAccessMutex; public: -OOO_DLLPUBLIC_CHARTTOOLS LifeTimeManager( ::com::sun::star::lang::XComponent* pComponent, bool bLongLastingCallsCancelable = false ); -OOO_DLLPUBLIC_CHARTTOOLS virtual ~LifeTimeManager(); + LifeTimeManager( ::com::sun::star::lang::XComponent* pComponent, bool bLongLastingCallsCancelable = false ); + virtual ~LifeTimeManager(); -OOO_DLLPUBLIC_CHARTTOOLS bool impl_isDisposed( bool bAssert=true ); -OOO_DLLPUBLIC_CHARTTOOLS bool dispose() throw(::com::sun::star::uno::RuntimeException); + bool impl_isDisposed( bool bAssert=true ); + bool dispose() throw(::com::sun::star::uno::RuntimeException); public: ::cppu::OMultiTypeInterfaceContainerHelper m_aListenerContainer; protected: - virtual bool impl_canStartApiCall(); - virtual void impl_apiCallCountReachedNull(){} + SAL_DLLPRIVATE virtual bool impl_canStartApiCall(); + SAL_DLLPRIVATE virtual void impl_apiCallCountReachedNull(){} - void impl_registerApiCall(bool bLongLastingCall); - void impl_unregisterApiCall(bool bLongLastingCall); + SAL_DLLPRIVATE void impl_registerApiCall(bool bLongLastingCall); + SAL_DLLPRIVATE void impl_unregisterApiCall(bool bLongLastingCall); - void impl_init(); + SAL_DLLPRIVATE void impl_init(); protected: ::com::sun::star::lang::XComponent* m_pComponent; |