summaryrefslogtreecommitdiff
path: root/vcl/source/app/svapp.cxx
diff options
context:
space:
mode:
authorPhilipp Riemer <ruderphilipp@gmail.com>2013-08-31 17:50:25 +0200
committerPhilipp Riemer <ruderphilipp@gmail.com>2013-08-31 22:41:10 +0200
commitbf42b6f9f51b4bc66e267ae24c87ac79122825cc (patch)
tree449f642fc53e3d654ae36a39877efc41a8b74fcc /vcl/source/app/svapp.cxx
parent3f84d81412f123bda0dde57c4e52abe9f49f58af (diff)
fdo#62475 - remove visual noise
This is a follow up commit to - 22d1beb78a475e4846af945afde1c4d6c263b5d6 - 1c7af455ab9345304a7ac48ce2e0310de2ac8a75 Change-Id: I102685391125f3b4f7bdf838f8bd17a2283d558d
Diffstat (limited to 'vcl/source/app/svapp.cxx')
-rw-r--r--vcl/source/app/svapp.cxx217
1 files changed, 0 insertions, 217 deletions
diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx
index b4450c34d833..47222d007158 100644
--- a/vcl/source/app/svapp.cxx
+++ b/vcl/source/app/svapp.cxx
@@ -132,17 +132,10 @@ namespace
: public rtl::StaticAggregate<ReservedKeys, ImplReservedKeysImpl> {};
}
-
extern "C" {
typedef UnoWrapperBase* (SAL_CALL *FN_TkCreateUnoWrapper)();
}
-// =======================================================================
-
-// --------------
-// - ImplHotKey -
-// --------------
-
struct ImplHotKey
{
ImplHotKey* mpNext;
@@ -151,12 +144,6 @@ struct ImplHotKey
Link maLink;
};
-// =======================================================================
-
-// -----------------
-// - ImplEventHook -
-// -----------------
-
struct ImplEventHook
{
ImplEventHook* mpNext;
@@ -164,12 +151,6 @@ struct ImplEventHook
VCLEventHookProc mpProc;
};
-// =======================================================================
-
-// ---------------------
-// - ImplPostEventData -
-// ---------------------
-
struct ImplPostEventData
{
sal_uLong mnEvent;
@@ -196,8 +177,6 @@ typedef ::std::pair< Window*, ImplPostEventData* > ImplPostEventPair;
static ::std::list< ImplPostEventPair > aPostedEventList;
-// =======================================================================
-
Application* GetpApp()
{
ImplSVData* pSVData = ImplGetSVData();
@@ -206,8 +185,6 @@ Application* GetpApp()
return pSVData->mpApp;
}
-// -----------------------------------------------------------------------
-
Application::Application()
{
// useful for themes at least, perhaps extensions too
@@ -220,8 +197,6 @@ Application::Application()
InitSalData();
}
-// -----------------------------------------------------------------------
-
Application::~Application()
{
ImplDeInitSVData();
@@ -231,8 +206,6 @@ Application::~Application()
GlobalDeInitTools();
}
-// -----------------------------------------------------------------------
-
sal_Bool Application::QueryExit()
{
WorkWindow* pAppWin = ImplGetSVData()->maWinData.mpAppWin;
@@ -244,49 +217,35 @@ sal_Bool Application::QueryExit()
return sal_True;
}
-// -----------------------------------------------------------------------
-
void Application::UserEvent( sal_uLong, void* )
{
}
-// -----------------------------------------------------------------------
-
void Application::FocusChanged()
{
}
-// -----------------------------------------------------------------------
-
void Application::DataChanged( const DataChangedEvent& )
{
}
-// -----------------------------------------------------------------------
void Application::Init()
{
}
-// -----------------------------------------------------------------------
void Application::InitFinished()
{
}
-// -----------------------------------------------------------------------
-
void Application::DeInit()
{
}
-// -----------------------------------------------------------------------
-
sal_uInt16 Application::GetCommandLineParamCount()
{
return (sal_uInt16)osl_getCommandArgCount();
}
-// -----------------------------------------------------------------------
-
OUString Application::GetCommandLineParam( sal_uInt16 nParam )
{
OUString aParam;
@@ -294,8 +253,6 @@ OUString Application::GetCommandLineParam( sal_uInt16 nParam )
return aParam;
}
-// -----------------------------------------------------------------------
-
OUString Application::GetAppFileName()
{
ImplSVData* pSVData = ImplGetSVData();
@@ -317,8 +274,6 @@ OUString Application::GetAppFileName()
return aAppFileName;
}
-// -----------------------------------------------------------------------
-
sal_uInt16 Application::Exception( sal_uInt16 nError )
{
switch ( nError & EXC_MAJORTYPE )
@@ -351,8 +306,6 @@ sal_uInt16 Application::Exception( sal_uInt16 nError )
return 0;
}
-// -----------------------------------------------------------------------
-
void Application::Abort( const OUString& rErrorText )
{
//HACK: Dump core iff --norestore command line argument is given (assuming
@@ -370,8 +323,6 @@ void Application::Abort( const OUString& rErrorText )
SalAbort( rErrorText, dumpCore );
}
-// -----------------------------------------------------------------------
-
sal_uLong Application::GetReservedKeyCodeCount()
{
return ImplReservedKeys::get()->second;
@@ -385,8 +336,6 @@ const KeyCode* Application::GetReservedKeyCode( sal_uLong i )
return &ImplReservedKeys::get()->first[i].mKeyCode;
}
-// -----------------------------------------------------------------------
-
void Application::Execute()
{
ImplSVData* pSVData = ImplGetSVData();
@@ -398,8 +347,6 @@ void Application::Execute()
pSVData->maAppData.mbInAppExecute = sal_False;
}
-// -----------------------------------------------------------------------
-
inline void ImplYield( bool i_bWait, bool i_bAllEvents )
{
ImplSVData* pSVData = ImplGetSVData();
@@ -437,110 +384,80 @@ inline void ImplYield( bool i_bWait, bool i_bAllEvents )
pSVData->maAppData.mpPostYieldListeners->callListeners( NULL );
}
-// -----------------------------------------------------------------------
-
void Application::Reschedule( bool i_bAllEvents )
{
ImplYield( false, i_bAllEvents );
}
-// -----------------------------------------------------------------------
-
void Application::Yield()
{
ImplYield( true, false );
}
-// -----------------------------------------------------------------------
-
IMPL_STATIC_LINK_NOINSTANCE( ImplSVAppData, ImplQuitMsg, void*, EMPTYARG )
{
ImplGetSVData()->maAppData.mbAppQuit = sal_True;
return 0;
}
-// -----------------------------------------------------------------------
-
void Application::Quit()
{
Application::PostUserEvent( STATIC_LINK( NULL, ImplSVAppData, ImplQuitMsg ) );
}
-// -----------------------------------------------------------------------
-
comphelper::SolarMutex& Application::GetSolarMutex()
{
ImplSVData* pSVData = ImplGetSVData();
return *(pSVData->mpDefInst->GetYieldMutex());
}
-// -----------------------------------------------------------------------
-
oslThreadIdentifier Application::GetMainThreadIdentifier()
{
return ImplGetSVData()->mnMainThreadId;
}
-// -----------------------------------------------------------------------
-
sal_uLong Application::ReleaseSolarMutex()
{
ImplSVData* pSVData = ImplGetSVData();
return pSVData->mpDefInst->ReleaseYieldMutex();
}
-// -----------------------------------------------------------------------
-
void Application::AcquireSolarMutex( sal_uLong nCount )
{
ImplSVData* pSVData = ImplGetSVData();
pSVData->mpDefInst->AcquireYieldMutex( nCount );
}
-// -----------------------------------------------------------------------
-
sal_Bool Application::IsInMain()
{
return ImplGetSVData()->maAppData.mbInAppMain;
}
-// -----------------------------------------------------------------------
-
sal_Bool Application::IsInExecute()
{
return ImplGetSVData()->maAppData.mbInAppExecute;
}
-// -----------------------------------------------------------------------
-
sal_Bool Application::IsInModalMode()
{
return (ImplGetSVData()->maAppData.mnModalMode != 0);
}
-// -----------------------------------------------------------------------
-
sal_uInt16 Application::GetDispatchLevel()
{
return ImplGetSVData()->maAppData.mnDispatchLevel;
}
-// -----------------------------------------------------------------------
-
bool Application::AnyInput( sal_uInt16 nType )
{
return ImplGetSVData()->mpDefInst->AnyInput( nType );
}
-// -----------------------------------------------------------------------
-
sal_uLong Application::GetLastInputInterval()
{
return (Time::GetSystemTicks()-ImplGetSVData()->maAppData.mnLastInputTime);
}
-// -----------------------------------------------------------------------
-
extern int nImplSysDialog;
sal_Bool Application::IsUICaptured()
@@ -557,15 +474,11 @@ sal_Bool Application::IsUICaptured()
return sal_False;
}
-// -----------------------------------------------------------------------
-
void Application::SystemSettingsChanging( AllSettings& /*rSettings*/,
Window* /*pFrame*/ )
{
}
-// -----------------------------------------------------------------------
-
void Application::MergeSystemSettings( AllSettings& rSettings )
{
Window* pWindow = ImplGetSVData()->maWinData.mpFirstFrame;
@@ -585,8 +498,6 @@ void Application::MergeSystemSettings( AllSettings& rSettings )
}
}
-// -----------------------------------------------------------------------
-
bool Application::ValidateSystemFont()
{
Window* pWindow = ImplGetSVData()->maWinData.mpFirstFrame;
@@ -602,8 +513,6 @@ bool Application::ValidateSystemFont()
return false;
}
-// -----------------------------------------------------------------------
-
void Application::SetSettings( const AllSettings& rSettings )
{
ImplSVData* pSVData = ImplGetSVData();
@@ -703,8 +612,6 @@ void Application::SetSettings( const AllSettings& rSettings )
}
}
-// -----------------------------------------------------------------------
-
const AllSettings& Application::GetSettings()
{
ImplSVData* pSVData = ImplGetSVData();
@@ -718,8 +625,6 @@ const AllSettings& Application::GetSettings()
return *(pSVData->maAppData.mpSettings);
}
-// -----------------------------------------------------------------------
-
void Application::NotifyAllWindows( DataChangedEvent& rDCEvt )
{
ImplSVData* pSVData = ImplGetSVData();
@@ -739,8 +644,6 @@ void Application::NotifyAllWindows( DataChangedEvent& rDCEvt )
}
}
-// -----------------------------------------------------------------------
-
void Application::ImplCallEventListeners( sal_uLong nEvent, Window *pWin, void* pData )
{
ImplSVData* pSVData = ImplGetSVData();
@@ -750,8 +653,6 @@ void Application::ImplCallEventListeners( sal_uLong nEvent, Window *pWin, void*
pSVData->maAppData.mpEventListeners->Call( &aEvent );
}
-// -----------------------------------------------------------------------
-
void Application::ImplCallEventListeners( VclSimpleEvent* pEvent )
{
ImplSVData* pSVData = ImplGetSVData();
@@ -760,8 +661,6 @@ void Application::ImplCallEventListeners( VclSimpleEvent* pEvent )
pSVData->maAppData.mpEventListeners->Call( pEvent );
}
-// -----------------------------------------------------------------------
-
void Application::AddEventListener( const Link& rEventListener )
{
ImplSVData* pSVData = ImplGetSVData();
@@ -770,8 +669,6 @@ void Application::AddEventListener( const Link& rEventListener )
pSVData->maAppData.mpEventListeners->addListener( rEventListener );
}
-// -----------------------------------------------------------------------
-
void Application::RemoveEventListener( const Link& rEventListener )
{
ImplSVData* pSVData = ImplGetSVData();
@@ -779,7 +676,6 @@ void Application::RemoveEventListener( const Link& rEventListener )
pSVData->maAppData.mpEventListeners->removeListener( rEventListener );
}
-// -----------------------------------------------------------------------
void Application::AddKeyListener( const Link& rKeyListener )
{
ImplSVData* pSVData = ImplGetSVData();
@@ -788,8 +684,6 @@ void Application::AddKeyListener( const Link& rKeyListener )
pSVData->maAppData.mpKeyListeners->addListener( rKeyListener );
}
-// -----------------------------------------------------------------------
-
void Application::RemoveKeyListener( const Link& rKeyListener )
{
ImplSVData* pSVData = ImplGetSVData();
@@ -797,8 +691,6 @@ void Application::RemoveKeyListener( const Link& rKeyListener )
pSVData->maAppData.mpKeyListeners->removeListener( rKeyListener );
}
-// -----------------------------------------------------------------------
-
sal_Bool Application::HandleKey( sal_uLong nEvent, Window *pWin, KeyEvent* pKeyEvent )
{
// let listeners process the key event
@@ -813,8 +705,6 @@ sal_Bool Application::HandleKey( sal_uLong nEvent, Window *pWin, KeyEvent* pKeyE
return bProcessed;
}
-// -----------------------------------------------------------------------------
-
sal_uLong Application::PostKeyEvent( sal_uLong nEvent, Window *pWin, KeyEvent* pKeyEvent )
{
const SolarMutexGuard aGuard;
@@ -840,8 +730,6 @@ sal_uLong Application::PostKeyEvent( sal_uLong nEvent, Window *pWin, KeyEvent* p
return nEventId;
}
-// -----------------------------------------------------------------------------
-
sal_uLong Application::PostMouseEvent( sal_uLong nEvent, Window *pWin, MouseEvent* pMouseEvent )
{
const SolarMutexGuard aGuard;
@@ -1007,8 +895,6 @@ IMPL_STATIC_LINK_NOINSTANCE( Application, PostEventHandler, void*, pCallData )
return 0;
}
-// -----------------------------------------------------------------------
-
void Application::RemoveMouseAndKeyEvents( Window* pWin )
{
const SolarMutexGuard aGuard;
@@ -1031,8 +917,6 @@ void Application::RemoveMouseAndKeyEvents( Window* pWin )
}
}
-// -----------------------------------------------------------------------
-
sal_uLong Application::PostUserEvent( const Link& rLink, void* pCaller )
{
sal_uLong nEventId;
@@ -1040,8 +924,6 @@ sal_uLong Application::PostUserEvent( const Link& rLink, void* pCaller )
return nEventId;
}
-// -----------------------------------------------------------------------
-
sal_Bool Application::PostUserEvent( sal_uLong& rEventId, const Link& rLink, void* pCaller )
{
ImplSVEvent* pSVEvent = new ImplSVEvent;
@@ -1062,8 +944,6 @@ sal_Bool Application::PostUserEvent( sal_uLong& rEventId, const Link& rLink, voi
}
}
-// -----------------------------------------------------------------------
-
void Application::RemoveUserEvent( sal_uLong nUserEvent )
{
if(nUserEvent)
@@ -1086,8 +966,6 @@ void Application::RemoveUserEvent( sal_uLong nUserEvent )
}
}
-// -----------------------------------------------------------------------
-
sal_Bool Application::InsertIdleHdl( const Link& rLink, sal_uInt16 nPrio )
{
ImplSVData* pSVData = ImplGetSVData();
@@ -1099,8 +977,6 @@ sal_Bool Application::InsertIdleHdl( const Link& rLink, sal_uInt16 nPrio )
return pSVData->maAppData.mpIdleMgr->InsertIdleHdl( rLink, nPrio );
}
-// -----------------------------------------------------------------------
-
void Application::RemoveIdleHdl( const Link& rLink )
{
ImplSVData* pSVData = ImplGetSVData();
@@ -1109,16 +985,12 @@ void Application::RemoveIdleHdl( const Link& rLink )
pSVData->maAppData.mpIdleMgr->RemoveIdleHdl( rLink );
}
-// -----------------------------------------------------------------------
-
void Application::EnableNoYieldMode( bool i_bNoYield )
{
ImplSVData* pSVData = ImplGetSVData();
pSVData->maAppData.mbNoYield = i_bNoYield;
}
-// -----------------------------------------------------------------------
-
void Application::AddPostYieldListener( const Link& i_rListener )
{
ImplSVData* pSVData = ImplGetSVData();
@@ -1127,8 +999,6 @@ void Application::AddPostYieldListener( const Link& i_rListener )
pSVData->maAppData.mpPostYieldListeners->addListener( i_rListener );
}
-// -----------------------------------------------------------------------
-
void Application::RemovePostYieldListener( const Link& i_rListener )
{
ImplSVData* pSVData = ImplGetSVData();
@@ -1136,44 +1006,32 @@ void Application::RemovePostYieldListener( const Link& i_rListener )
pSVData->maAppData.mpPostYieldListeners->removeListener( i_rListener );
}
-// -----------------------------------------------------------------------
-
WorkWindow* Application::GetAppWindow()
{
return ImplGetSVData()->maWinData.mpAppWin;
}
-// -----------------------------------------------------------------------
-
Window* Application::GetFocusWindow()
{
return ImplGetSVData()->maWinData.mpFocusWin;
}
-// -----------------------------------------------------------------------
-
OutputDevice* Application::GetDefaultDevice()
{
return ImplGetDefaultWindow();
}
-// -----------------------------------------------------------------------
-
Window* Application::GetFirstTopLevelWindow()
{
ImplSVData* pSVData = ImplGetSVData();
return pSVData->maWinData.mpFirstFrame;
}
-// -----------------------------------------------------------------------
-
Window* Application::GetNextTopLevelWindow( Window* pWindow )
{
return pWindow->mpWindowImpl->mpFrameData->mpNextFrame;
}
-// -----------------------------------------------------------------------
-
long Application::GetTopWindowCount()
{
long nRet = 0;
@@ -1188,8 +1046,6 @@ long Application::GetTopWindowCount()
return nRet;
}
-// -----------------------------------------------------------------------
-
Window* Application::GetTopWindow( long nIndex )
{
long nIdx = 0;
@@ -1209,8 +1065,6 @@ Window* Application::GetTopWindow( long nIndex )
return NULL;
}
-// -----------------------------------------------------------------------
-
Window* Application::GetActiveTopWindow()
{
Window *pWin = ImplGetSVData()->maWinData.mpFocusWin;
@@ -1223,8 +1077,6 @@ Window* Application::GetActiveTopWindow()
return NULL;
}
-// -----------------------------------------------------------------------
-
void Application::SetAppName( const OUString& rUniqueName )
{
ImplSVData* pSVData = ImplGetSVData();
@@ -1236,8 +1088,6 @@ void Application::SetAppName( const OUString& rUniqueName )
*(pSVData->maAppData.mpAppName) = rUniqueName;
}
-// -----------------------------------------------------------------------
-
OUString Application::GetAppName()
{
ImplSVData* pSVData = ImplGetSVData();
@@ -1247,8 +1097,6 @@ OUString Application::GetAppName()
return ImplGetSVEmptyStr();
}
-// -----------------------------------------------------------------------
-
void Application::SetDisplayName( const OUString& rName )
{
ImplSVData* pSVData = ImplGetSVData();
@@ -1260,8 +1108,6 @@ void Application::SetDisplayName( const OUString& rName )
*(pSVData->maAppData.mpDisplayName) = rName;
}
-// -----------------------------------------------------------------------
-
OUString Application::GetDisplayName()
{
ImplSVData* pSVData = ImplGetSVData();
@@ -1273,8 +1119,6 @@ OUString Application::GetDisplayName()
return OUString("");
}
-// -----------------------------------------------------------------------
-
unsigned int Application::GetScreenCount()
{
SalSystem* pSys = ImplGetSalSystem();
@@ -1379,8 +1223,6 @@ unsigned int Application::GetBestScreen( const Rectangle& i_rRect )
return nBestMatchScreen;
}
-// -----------------------------------------------------------------------
-
sal_Bool Application::InsertAccel( Accelerator* pAccel )
{
ImplSVData* pSVData = ImplGetSVData();
@@ -1390,8 +1232,6 @@ sal_Bool Application::InsertAccel( Accelerator* pAccel )
return pSVData->maAppData.mpAccelMgr->InsertAccel( pAccel );
}
-// -----------------------------------------------------------------------
-
void Application::RemoveAccel( Accelerator* pAccel )
{
ImplSVData* pSVData = ImplGetSVData();
@@ -1400,36 +1240,26 @@ void Application::RemoveAccel( Accelerator* pAccel )
pSVData->maAppData.mpAccelMgr->RemoveAccel( pAccel );
}
-// -----------------------------------------------------------------------
-
void Application::SetHelp( Help* pHelp )
{
ImplGetSVData()->maAppData.mpHelp = pHelp;
}
-// -----------------------------------------------------------------------
-
Help* Application::GetHelp()
{
return ImplGetSVData()->maAppData.mpHelp;
}
-// -----------------------------------------------------------------------
-
void Application::EnableAutoHelpId( sal_Bool bEnabled )
{
ImplGetSVData()->maHelpData.mbAutoHelpId = bEnabled;
}
-// -----------------------------------------------------------------------
-
sal_Bool Application::IsAutoHelpIdEnabled()
{
return ImplGetSVData()->maHelpData.mbAutoHelpId;
}
-// -----------------------------------------------------------------------
-
void Application::EnableAutoMnemonic( sal_Bool bEnabled )
{
AllSettings aSettings = GetSettings();
@@ -1439,15 +1269,11 @@ void Application::EnableAutoMnemonic( sal_Bool bEnabled )
SetSettings( aSettings );
}
-// -----------------------------------------------------------------------
-
sal_Bool Application::IsAutoMnemonicEnabled()
{
return GetSettings().GetStyleSettings().GetAutoMnemonic();
}
-// -----------------------------------------------------------------------
-
void Application::SetDialogScaleX( short nScale )
{
ImplSVData* pSVData = ImplGetSVData();
@@ -1457,15 +1283,11 @@ void Application::SetDialogScaleX( short nScale )
pSVData->maGDIData.mnAppFontX += (pSVData->maGDIData.mnAppFontX*nScale)/100;
}
-// -----------------------------------------------------------------------
-
void Application::SetDefDialogParent( Window* pWindow )
{
ImplGetSVData()->maWinData.mpDefDialogParent = pWindow;
}
-// -----------------------------------------------------------------------
-
Window* Application::GetDefDialogParent()
{
ImplSVData* pSVData = ImplGetSVData();
@@ -1528,8 +1350,6 @@ Window* Application::GetDefDialogParent()
}
}
-// -----------------------------------------------------------------------
-
Application::DialogCancelMode Application::GetDialogCancelMode()
{
return ImplGetSVData()->maAppData.meDialogCancel;
@@ -1540,29 +1360,21 @@ void Application::SetDialogCancelMode( DialogCancelMode mode )
ImplGetSVData()->maAppData.meDialogCancel = mode;
}
-// -----------------------------------------------------------------------
-
sal_Bool Application::IsDialogCancelEnabled()
{
return ImplGetSVData()->maAppData.meDialogCancel != DIALOG_CANCEL_OFF;
}
-// -----------------------------------------------------------------------
-
void Application::SetSystemWindowMode( sal_uInt16 nMode )
{
ImplGetSVData()->maAppData.mnSysWinMode = nMode;
}
-// -----------------------------------------------------------------------
-
sal_uInt16 Application::GetSystemWindowMode()
{
return ImplGetSVData()->maAppData.mnSysWinMode;
}
-// -----------------------------------------------------------------------
-
::com::sun::star::uno::Reference< ::com::sun::star::awt::XToolkit > Application::GetVCLToolkit()
{
::com::sun::star::uno::Reference< ::com::sun::star::awt::XToolkit > xT;
@@ -1572,8 +1384,6 @@ sal_uInt16 Application::GetSystemWindowMode()
return xT;
}
-// -----------------------------------------------------------------------
-
#ifdef DISABLE_DYNLOADING
extern "C" { UnoWrapperBase* CreateUnoWrapper(); }
@@ -1618,8 +1428,6 @@ UnoWrapperBase* Application::GetUnoWrapper( sal_Bool bCreateIfNotExist )
return pSVData->mpUnoWrapper;
}
-// -----------------------------------------------------------------------
-
void Application::SetUnoWrapper( UnoWrapperBase* pWrapper )
{
ImplSVData* pSVData = ImplGetSVData();
@@ -1627,8 +1435,6 @@ void Application::SetUnoWrapper( UnoWrapperBase* pWrapper )
pSVData->mpUnoWrapper = pWrapper;
}
-// -----------------------------------------------------------------------
-
::com::sun::star::uno::Reference< ::com::sun::star::awt::XDisplayConnection > Application::GetDisplayConnection()
{
ImplSVData* pSVData = ImplGetSVData();
@@ -1642,15 +1448,11 @@ void Application::SetUnoWrapper( UnoWrapperBase* pWrapper )
return pSVData->mxDisplayConnection.get();
}
-// -----------------------------------------------------------------------
-
void Application::SetFilterHdl( const Link& rLink )
{
ImplGetSVData()->maGDIData.mpGrfConverter->SetFilterHdl( rLink );
}
-// -----------------------------------------------------------------------
-
bool ImplCallHotKey( const KeyCode& rKeyCode )
{
ImplSVData* pSVData = ImplGetSVData();
@@ -1669,8 +1471,6 @@ bool ImplCallHotKey( const KeyCode& rKeyCode )
return false;
}
-// -----------------------------------------------------------------------
-
void ImplFreeHotKeyData()
{
ImplSVData* pSVData = ImplGetSVData();
@@ -1686,8 +1486,6 @@ void ImplFreeHotKeyData()
pSVData->maAppData.mpFirstHotKey = NULL;
}
-// -----------------------------------------------------------------------
-
void ImplFreeEventHookData()
{
ImplSVData* pSVData = ImplGetSVData();
@@ -1703,8 +1501,6 @@ void ImplFreeEventHookData()
pSVData->maAppData.mpFirstEventHook = NULL;
}
-// -----------------------------------------------------------------------
-
long Application::CallEventHooks( NotifyEvent& rEvt )
{
ImplSVData* pSVData = ImplGetSVData();
@@ -1723,23 +1519,17 @@ long Application::CallEventHooks( NotifyEvent& rEvt )
return nRet;
}
-// -----------------------------------------------------------------------
-
const LocaleDataWrapper& Application::GetAppLocaleDataWrapper()
{
return GetSettings().GetLocaleDataWrapper();
}
-// -----------------------------------------------------------------------
-
void Application::EnableHeadlessMode( bool dialogsAreFatal )
{
SetDialogCancelMode(
dialogsAreFatal ? DIALOG_CANCEL_FATAL : DIALOG_CANCEL_SILENT );
}
-// -----------------------------------------------------------------------
-
sal_Bool Application::IsHeadlessModeEnabled()
{
return IsDialogCancelEnabled();
@@ -1770,9 +1560,6 @@ void Application::EnableConsoleOnly()
bConsoleOnly = true;
}
-
-// -----------------------------------------------------------------------
-
void Application::ShowNativeErrorBox(const OUString& sTitle ,
const OUString& sMessage)
{
@@ -1786,8 +1573,6 @@ void Application::ShowNativeErrorBox(const OUString& sTitle ,
}
}
-// -----------------------------------------------------------------------
-
bool Application::CanToggleImeStatusWindow()
{
ImplSVData* pSVData = ImplGetSVData();
@@ -1853,8 +1638,6 @@ bool InitAccessBridge( bool bShowCancel, bool &rCancelled )
}
// MT: AppEvent was in oldsv.cxx, but is still needed...
-// ------------------------------------------------------------------------
-
void Application::AppEvent( const ApplicationEvent& /*rAppEvent*/ )
{
}