[Libreoffice-commits] core.git: vcl/headless vcl/inc
Caolán McNamara
caolanm at redhat.com
Tue Sep 29 04:25:03 PDT 2015
vcl/headless/svpinst.cxx | 2 +-
vcl/inc/headless/svpinst.hxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit f31d7fecb656d280c70b849d50a6642a28cf7225
Author: Caolán McNamara <caolanm at redhat.com>
Date: Tue Sep 29 12:16:38 2015 +0100
the only use of non-null pData in PostEvent is with a ImplSVEvent
Change-Id: Id843c886cc9a029f37eab53a95497707060c3ada
diff --git a/vcl/headless/svpinst.cxx b/vcl/headless/svpinst.cxx
index 0b649ba..8a14e62 100644
--- a/vcl/headless/svpinst.cxx
+++ b/vcl/headless/svpinst.cxx
@@ -115,7 +115,7 @@ SvpSalInstance::~SvpSalInstance()
osl_destroyMutex( m_aEventGuard );
}
-void SvpSalInstance::PostEvent(const SalFrame* pFrame, void* pData, sal_uInt16 nEvent)
+void SvpSalInstance::PostEvent(const SalFrame* pFrame, ImplSVEvent* pData, sal_uInt16 nEvent)
{
if( osl_acquireMutex( m_aEventGuard ) )
{
diff --git a/vcl/inc/headless/svpinst.hxx b/vcl/inc/headless/svpinst.hxx
index f8c5d6e..0c9fa4a 100644
--- a/vcl/inc/headless/svpinst.hxx
+++ b/vcl/inc/headless/svpinst.hxx
@@ -97,7 +97,7 @@ public:
SvpSalInstance( SalYieldMutex *pMutex );
virtual ~SvpSalInstance();
- void PostEvent( const SalFrame* pFrame, void* pData, sal_uInt16 nEvent );
+ void PostEvent(const SalFrame* pFrame, ImplSVEvent* pData, sal_uInt16 nEvent);
bool PostedEventsInQueue();
More information about the Libreoffice-commits
mailing list