[Libreoffice-commits] core.git: chart2/source
Stephan Bergmann
sbergman at redhat.com
Mon Aug 18 09:38:57 PDT 2014
chart2/source/inc/LifeTime.hxx | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
New commits:
commit b4454c19c424d50b75fff8ef2965c5cf379c8558
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Aug 18 18:38:23 2014 +0200
Generally better to have DLLPUBLIC class with some DLLPRIVATE members
...in the same vein as 80a1a2599e04142683d2286d0e32d0e13fb45de3.
Change-Id: I181d54475d82e2a01a56f48a13ac42dbad876d2c
diff --git a/chart2/source/inc/LifeTime.hxx b/chart2/source/inc/LifeTime.hxx
index 1fd93e8..edcdcab 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;
More information about the Libreoffice-commits
mailing list