cppcheck: unusedFunction
Change-Id: I81f2a4be65bbc9359e51accccb746f1e8ea48c4f
This commit is contained in:
@@ -206,15 +206,6 @@ void Player::setNotifyWnd( int nNotifyWnd )
|
|||||||
mpME->SetNotifyWindow( (OAHWND) nNotifyWnd, WM_GRAPHNOTIFY, reinterpret_cast< LONG_PTR>( this ) );
|
mpME->SetNotifyWindow( (OAHWND) nNotifyWnd, WM_GRAPHNOTIFY, reinterpret_cast< LONG_PTR>( this ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
void Player::setDDrawParams( IDirectDraw* pDDraw, IDirectDrawSurface* pDDrawSurface )
|
|
||||||
{
|
|
||||||
if( mpEV && pDDraw && pDDrawSurface )
|
|
||||||
{
|
|
||||||
mpEV->SetDDrawObject( pDDraw );
|
|
||||||
mpEV->SetDDrawSurface( pDDrawSurface );
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
long Player::processEvent()
|
long Player::processEvent()
|
||||||
{
|
{
|
||||||
long nCode;
|
long nCode;
|
||||||
|
@@ -60,7 +60,6 @@ public:
|
|||||||
bool create( const OUString& rURL );
|
bool create( const OUString& rURL );
|
||||||
|
|
||||||
void setNotifyWnd( int nNotifyWnd );
|
void setNotifyWnd( int nNotifyWnd );
|
||||||
void setDDrawParams( IDirectDraw* pDDraw, IDirectDrawSurface* pDDrawSurface );
|
|
||||||
long processEvent();
|
long processEvent();
|
||||||
|
|
||||||
const IVideoWindow* getVideoWindow() const;
|
const IVideoWindow* getVideoWindow() const;
|
||||||
|
@@ -98,12 +98,6 @@ void Lwp9Reader::Read()
|
|||||||
LwpGlobalMgr::DeleteInstance();
|
LwpGlobalMgr::DeleteInstance();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @descr Read the OLE objects.
|
|
||||||
*/
|
|
||||||
void Lwp9Reader::ReadOleObjects()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
/**
|
/**
|
||||||
* @descr Read the LWP7 object.
|
* @descr Read the LWP7 object.
|
||||||
*/
|
*/
|
||||||
|
@@ -83,7 +83,6 @@ class Lwp9Reader
|
|||||||
void ParseDocument();
|
void ParseDocument();
|
||||||
void WriteDocHeader();
|
void WriteDocHeader();
|
||||||
void WriteDocEnd();
|
void WriteDocEnd();
|
||||||
void ReadOleObjects();
|
|
||||||
public:
|
public:
|
||||||
void Read();
|
void Read();
|
||||||
};
|
};
|
||||||
|
@@ -112,7 +112,6 @@ inline void SetSalData( SalData* pData ) { ImplGetSVData()->mpSalData = pData; }
|
|||||||
inline SalData *GetSalData() { return ImplGetSVData()->mpSalData; }
|
inline SalData *GetSalData() { return ImplGetSVData()->mpSalData; }
|
||||||
|
|
||||||
bool ImplSalYieldMutexTryToAcquire();
|
bool ImplSalYieldMutexTryToAcquire();
|
||||||
void ImplSalYieldMutexAcquire();
|
|
||||||
void ImplSalYieldMutexRelease();
|
void ImplSalYieldMutexRelease();
|
||||||
|
|
||||||
#endif // INCLUDED_VCL_INC_OSX_SALDATA_HXX
|
#endif // INCLUDED_VCL_INC_OSX_SALDATA_HXX
|
||||||
|
@@ -173,7 +173,6 @@ void ImplFreeSalGDI();
|
|||||||
|
|
||||||
void ImplSalYieldMutexAcquireWithWait();
|
void ImplSalYieldMutexAcquireWithWait();
|
||||||
bool ImplSalYieldMutexTryToAcquire();
|
bool ImplSalYieldMutexTryToAcquire();
|
||||||
void ImplSalYieldMutexAcquire();
|
|
||||||
void ImplSalYieldMutexRelease();
|
void ImplSalYieldMutexRelease();
|
||||||
sal_uLong ImplSalReleaseYieldMutex();
|
sal_uLong ImplSalReleaseYieldMutex();
|
||||||
void ImplSalAcquireYieldMutex( sal_uLong nCount );
|
void ImplSalAcquireYieldMutex( sal_uLong nCount );
|
||||||
|
@@ -300,13 +300,6 @@ bool ImplSalYieldMutexTryToAcquire()
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ImplSalYieldMutexAcquire()
|
|
||||||
{
|
|
||||||
AquaSalInstance* pInst = (AquaSalInstance*) GetSalData()->mpFirstInstance;
|
|
||||||
if ( pInst )
|
|
||||||
pInst->mpSalYieldMutex->acquire();
|
|
||||||
}
|
|
||||||
|
|
||||||
void ImplSalYieldMutexRelease()
|
void ImplSalYieldMutexRelease()
|
||||||
{
|
{
|
||||||
AquaSalInstance* pInst = (AquaSalInstance*) GetSalData()->mpFirstInstance;
|
AquaSalInstance* pInst = (AquaSalInstance*) GetSalData()->mpFirstInstance;
|
||||||
|
@@ -99,7 +99,6 @@ void SalAbort( const OUString& rErrorText, bool )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
LRESULT CALLBACK SalComWndProcA( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lParam );
|
|
||||||
LRESULT CALLBACK SalComWndProcW( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lParam );
|
LRESULT CALLBACK SalComWndProcW( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lParam );
|
||||||
|
|
||||||
class SalYieldMutex : public comphelper::SolarMutex
|
class SalYieldMutex : public comphelper::SolarMutex
|
||||||
@@ -250,13 +249,6 @@ bool ImplSalYieldMutexTryToAcquire()
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ImplSalYieldMutexAcquire()
|
|
||||||
{
|
|
||||||
WinSalInstance* pInst = GetSalData()->mpFirstInstance;
|
|
||||||
if ( pInst )
|
|
||||||
pInst->mpSalYieldMutex->acquire();
|
|
||||||
}
|
|
||||||
|
|
||||||
void ImplSalYieldMutexRelease()
|
void ImplSalYieldMutexRelease()
|
||||||
{
|
{
|
||||||
WinSalInstance* pInst = GetSalData()->mpFirstInstance;
|
WinSalInstance* pInst = GetSalData()->mpFirstInstance;
|
||||||
@@ -751,37 +743,6 @@ LRESULT CALLBACK SalComWndProc( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lPar
|
|||||||
return nRet;
|
return nRet;
|
||||||
}
|
}
|
||||||
|
|
||||||
LRESULT CALLBACK SalComWndProcA( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lParam )
|
|
||||||
{
|
|
||||||
int bDef = TRUE;
|
|
||||||
LRESULT nRet = 0;
|
|
||||||
#if defined ( __MINGW32__ ) && !defined ( _WIN64 )
|
|
||||||
jmp_buf jmpbuf;
|
|
||||||
__SEHandler han;
|
|
||||||
if (__builtin_setjmp(jmpbuf) == 0)
|
|
||||||
{
|
|
||||||
han.Set(jmpbuf, NULL, (__SEHandler::PF)EXCEPTION_EXECUTE_HANDLER);
|
|
||||||
#else
|
|
||||||
__try
|
|
||||||
{
|
|
||||||
#endif
|
|
||||||
nRet = SalComWndProc( hWnd, nMsg, wParam, lParam, bDef );
|
|
||||||
}
|
|
||||||
#if defined ( __MINGW32__ ) && !defined ( _WIN64 )
|
|
||||||
han.Reset();
|
|
||||||
#else
|
|
||||||
__except(WinSalInstance::WorkaroundExceptionHandlingInUSER32Lib(GetExceptionCode(), GetExceptionInformation()))
|
|
||||||
{
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
if ( bDef )
|
|
||||||
{
|
|
||||||
if ( !ImplHandleGlobalMsg( hWnd, nMsg, wParam, lParam, nRet ) )
|
|
||||||
nRet = DefWindowProcA( hWnd, nMsg, wParam, lParam );
|
|
||||||
}
|
|
||||||
return nRet;
|
|
||||||
}
|
|
||||||
|
|
||||||
LRESULT CALLBACK SalComWndProcW( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lParam )
|
LRESULT CALLBACK SalComWndProcW( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lParam )
|
||||||
{
|
{
|
||||||
int bDef = TRUE;
|
int bDef = TRUE;
|
||||||
|
@@ -116,7 +116,6 @@ public:
|
|||||||
WinLayout( HDC, const ImplWinFontData&, ImplWinFontEntry& );
|
WinLayout( HDC, const ImplWinFontData&, ImplWinFontEntry& );
|
||||||
virtual void InitFont() const;
|
virtual void InitFont() const;
|
||||||
void SetFontScale( float f ) { mfFontScale = f; }
|
void SetFontScale( float f ) { mfFontScale = f; }
|
||||||
float GetFontScale() const { return mfFontScale; }
|
|
||||||
HFONT DisableFontScaling( void) const;
|
HFONT DisableFontScaling( void) const;
|
||||||
|
|
||||||
SCRIPT_CACHE& GetScriptCache() const
|
SCRIPT_CACHE& GetScriptCache() const
|
||||||
|
@@ -364,15 +364,6 @@ LRESULT CALLBACK SalSysObjWndProcA( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM
|
|||||||
return nRet;
|
return nRet;
|
||||||
}
|
}
|
||||||
|
|
||||||
LRESULT CALLBACK SalSysObjWndProcW( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lParam )
|
|
||||||
{
|
|
||||||
int bDef = TRUE;
|
|
||||||
LRESULT nRet = SalSysObjWndProc( hWnd, nMsg, wParam, lParam, bDef );
|
|
||||||
if ( bDef )
|
|
||||||
nRet = DefWindowProcW( hWnd, nMsg, wParam, lParam );
|
|
||||||
return nRet;
|
|
||||||
}
|
|
||||||
|
|
||||||
LRESULT CALLBACK SalSysObjChildWndProc( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lParam, int& rDef )
|
LRESULT CALLBACK SalSysObjChildWndProc( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lParam, int& rDef )
|
||||||
{
|
{
|
||||||
LRESULT nRet = 0;
|
LRESULT nRet = 0;
|
||||||
@@ -444,15 +435,6 @@ LRESULT CALLBACK SalSysObjChildWndProcA( HWND hWnd, UINT nMsg, WPARAM wParam, LP
|
|||||||
return nRet;
|
return nRet;
|
||||||
}
|
}
|
||||||
|
|
||||||
LRESULT CALLBACK SalSysObjChildWndProcW( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lParam )
|
|
||||||
{
|
|
||||||
int bDef = TRUE;
|
|
||||||
LRESULT nRet = SalSysObjChildWndProc( hWnd, nMsg, wParam, lParam, bDef );
|
|
||||||
if ( bDef )
|
|
||||||
nRet = DefWindowProcW( hWnd, nMsg, wParam, lParam );
|
|
||||||
return nRet;
|
|
||||||
}
|
|
||||||
|
|
||||||
SalObject* ImplSalCreateObject( WinSalInstance* pInst, WinSalFrame* pParent )
|
SalObject* ImplSalCreateObject( WinSalInstance* pInst, WinSalFrame* pParent )
|
||||||
{
|
{
|
||||||
SalData* pSalData = GetSalData();
|
SalData* pSalData = GetSalData();
|
||||||
|
Reference in New Issue
Block a user