Kaydet (Commit) 7a754444 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Make Application::PostZoomEvent() and PostScrollEvent() non-DESKTOP only

That is where they are used anyway. Avoids misleading entries in
unusedcode.easy.

Change-Id: I2ce06ebca55998dc1df7df1f40b08b496adfbc64
üst 14cdaf7f
......@@ -20,6 +20,8 @@
#ifndef _SV_SVAPP_HXX
#define _SV_SVAPP_HXX
#include <config_features.h>
#include <sal/config.h>
#include <stdexcept>
......@@ -211,8 +213,10 @@ public:
static sal_uLong PostKeyEvent( sal_uLong nEvent, Window *pWin, KeyEvent* pKeyEvent );
static sal_uLong PostMouseEvent( sal_uLong nEvent, Window *pWin, MouseEvent* pMouseEvent );
#if !HAVE_FEATURE_DESKTOP
static sal_uLong PostZoomEvent( sal_uLong nEvent, Window *pWin, ZoomEvent* pZoomEvent );
static sal_uLong PostScrollEvent( sal_uLong nEvent, Window *pWin, ScrollEvent* pScrollEvent );
#endif
static void RemoveMouseAndKeyEvents( Window *pWin );
static sal_uLong PostUserEvent( const Link& rLink, void* pCaller = NULL );
......
......@@ -880,6 +880,8 @@ sal_uLong Application::PostMouseEvent( sal_uLong nEvent, Window *pWin, MouseEven
return nEventId;
}
#if !HAVE_FEATURE_DESKTOP
sal_uLong Application::PostZoomEvent( sal_uLong nEvent, Window *pWin, ZoomEvent* pZoomEvent )
{
const SolarMutexGuard aGuard;
......@@ -937,7 +939,7 @@ sal_uLong Application::PostScrollEvent( sal_uLong nEvent, Window *pWin, ScrollEv
return nEventId;
}
// -----------------------------------------------------------------------------
#endif // !HAVE_FEATURE_DESKTOP
IMPL_STATIC_LINK_NOINSTANCE( Application, PostEventHandler, void*, pCallData )
{
......
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