diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-02-15 13:16:52 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-02-15 13:16:52 +0100 |
commit | bebd171db7735e3063f4aaaacbb15b78f5436dde (patch) | |
tree | 31f1ef59b7b86486406d293da3c0ffafd64279ab /desktop | |
parent | 402fcdbdde71e679c08e7b2bf4a5030c120dbffe (diff) |
PLASMA_NOW fix
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/app/app.cxx | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx index 53a19f6c87a2..4df6346b335e 100644 --- a/desktop/source/app/app.cxx +++ b/desktop/source/app/app.cxx @@ -105,7 +105,7 @@ #ifdef ANDROID // mmeeks debugging stuff? extern void VCL_DLLPUBLIC plasma_now(const char *msg); -#define PLASMA_NOW(s) plasma_now(s) +#define PLASMA_NOW(s) ::plasma_now(s) #else #define PLASMA_NOW(s) #endif @@ -1478,7 +1478,7 @@ int Desktop::Main() ResMgr::SetReadStringHook( ReplaceStringHookProc ); -// ::PLASMA_NOW("after desktoppy bits"); - fine to here ... +// PLASMA_NOW("after desktoppy bits"); - fine to here ... // Startup screen RTL_LOGFILE_CONTEXT_TRACE( aLog, "desktop (lo119109) Desktop::Main { OpenSplashScreen" ); @@ -1487,7 +1487,7 @@ int Desktop::Main() SetSplashScreenProgress(10); -// ::PLASMA_NOW("after splash open"); +// PLASMA_NOW("after splash open"); { UserInstall::UserInstallError instErr_fin = UserInstall::finalize(); if ( instErr_fin != UserInstall::E_None) @@ -1515,7 +1515,7 @@ int Desktop::Main() { RegisterServices( xSMgr ); -// ::PLASMA_NOW("registered services"); +// PLASMA_NOW("registered services"); SetSplashScreenProgress(25); @@ -1561,7 +1561,7 @@ int Desktop::Main() if ( !InitializeConfiguration() ) return EXIT_FAILURE; -// ::PLASMA_NOW("init configuration"); +// PLASMA_NOW("init configuration"); SetSplashScreenProgress(30); @@ -1580,7 +1580,7 @@ int Desktop::Main() String aTitle = pLabelResMgr ? String( ResId( RID_APPTITLE, *pLabelResMgr ) ) : String(); delete pLabelResMgr; -// ::PLASMA_NOW("after title string"); +// PLASMA_NOW("after title string"); #ifdef DBG_UTIL //include version ID in non product builds @@ -1598,7 +1598,7 @@ int Desktop::Main() SetSplashScreenProgress(40); RTL_LOGFILE_CONTEXT_TRACE( aLog, "} create SvtPathOptions and SvtLanguageOptions" ); -// ::PLASMA_NOW("unrestricted folders"); -- got this. +// PLASMA_NOW("unrestricted folders"); -- got this. // Check special env variable std::vector< String > aUnrestrictedFolders; @@ -1620,7 +1620,7 @@ int Desktop::Main() ( xSMgr->createInstance( DEFINE_CONST_UNICODE( "com.sun.star.frame.GlobalEventBroadcaster" ) ), UNO_QUERY ); - ::PLASMA_NOW("done global event broadcaster"); + PLASMA_NOW("done global event broadcaster"); /* ensure existance of a default window that messages can be dispatched to This is for the benefit of testtool which uses PostUserEvent extensively @@ -1659,7 +1659,7 @@ int Desktop::Main() pExecGlobals->xGlobalBroadcaster->notifyEvent(aEvent); } - ::PLASMA_NOW("invoked OnStartupApp"); + PLASMA_NOW("invoked OnStartupApp"); SetSplashScreenProgress(50); @@ -1690,7 +1690,7 @@ int Desktop::Main() aMiscOptions.SetUseSystemFileDialog( sal_False ); } - ::PLASMA_NOW("nearly there !"); + PLASMA_NOW("nearly there !"); if ( !pExecGlobals->bRestartRequested ) { @@ -1761,7 +1761,7 @@ int Desktop::Main() aOptions.SetVCLSettings(); SetSplashScreenProgress(60); - ::PLASMA_NOW("setup appearance !"); + PLASMA_NOW("setup appearance !"); if ( !pExecGlobals->bRestartRequested ) { @@ -1796,7 +1796,7 @@ int Desktop::Main() // Release solar mutex just before we wait for our client to connect int nAcquireCount = Application::ReleaseSolarMutex(); - ::PLASMA_NOW("wait client connect !"); + PLASMA_NOW("wait client connect !"); // Post user event to startup first application component window // We have to send this OpenClients message short before execute() to @@ -1816,7 +1816,7 @@ int Desktop::Main() // call Application::Execute to process messages in vcl message loop RTL_LOGFILE_PRODUCT_TRACE( "PERFORMANCE - enter Application::Execute()" ); - ::PLASMA_NOW("before java foo !"); + PLASMA_NOW("before java foo !"); try { @@ -1834,14 +1834,14 @@ int Desktop::Main() DoRestartActionsIfNecessary( !rCmdLineArgs.IsInvisible() && !rCmdLineArgs.IsNoQuickstart() ); #ifdef ANDROID - ::PLASMA_NOW("pre hit execute!"); + PLASMA_NOW("pre hit execute!"); // For some reason we're not getting a desktop frame or component [odd] ErrorBox aKickStartVCL( NULL, WB_OK, rtl::OUString::createFromAscii("My very own title!") ); aKickStartVCL.SetText( rtl::OUString::createFromAscii("Delphic Utterance") ); aKickStartVCL.Show(); // don't execute - just leave it lying around .... - ::PLASMA_NOW("hit execute!"); + PLASMA_NOW("hit execute!"); #endif Execute(); } |