summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-03-06 10:02:01 +0200
committerTor Lillqvist <tml@collabora.com>2014-03-06 11:09:11 +0200
commit485163703b22318e1aabc903bd0261851d677a9d (patch)
tree2e2e6f9d4325107cf0ee32154e8c67b3aec94f4c /vcl
parent856066bb2c56a918ba0f9176a48974746614c206 (diff)
Cosmetics and bin some pointless SAL_INFOs
Change-Id: I444cfdafce5cbd4d6f0ca12b05e477c48237a889
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/app/svmain.cxx13
1 files changed, 4 insertions, 9 deletions
diff --git a/vcl/source/app/svmain.cxx b/vcl/source/app/svmain.cxx
index 65ca649eb968..029f051bd424 100644
--- a/vcl/source/app/svmain.cxx
+++ b/vcl/source/app/svmain.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "rtl/logfile.hxx"
#include <osl/file.hxx>
@@ -140,8 +139,6 @@ oslSignalAction SAL_CALL VCLExceptionSignal_impl( void* /*pData*/, oslSignalInfo
int ImplSVMain()
{
// The 'real' SVMain()
- SAL_INFO( "vcl.app", "vcl (ss112471) ::SVMain" );
-
ImplSVData* pSVData = ImplGetSVData();
DBG_ASSERT( pSVData->mpApp, "no instance of class Application" );
@@ -192,9 +189,11 @@ int SVMain()
else
return ImplSVMain();
}
+
// This variable is set, when no Application object is instantiated
// before SVInit is called
static Application * pOwnSvApp = NULL;
+
// Exception handler. pExceptionHandler != NULL => VCL already inited
oslSignalHandler pExceptionHandler = NULL;
@@ -236,8 +235,6 @@ uno::Any SAL_CALL DesktopEnvironmentContext::getValueByName( const OUString& Nam
bool InitVCL()
{
- SAL_INFO( "vcl.app", "vcl (ss112471) ::InitVCL" );
-
if( pExceptionHandler != NULL )
return false;
@@ -261,11 +258,9 @@ bool InitVCL()
pSVData->mnMainThreadId = ::osl::Thread::getCurrentIdentifier();
// Initialize Sal
- SAL_INFO( "vcl.app", "{ ::CreateSalInstance" );
pSVData->mpDefInst = CreateSalInstance();
if ( !pSVData->mpDefInst )
return false;
- SAL_INFO( "vcl.app", "} ::CreateSalInstance" );
// Desktop Environment context (to be able to get value of "system.desktop-environment" as soon as possible)
com::sun::star::uno::setCurrentContext(
@@ -357,7 +352,7 @@ void DeInitVCL()
delete pSVData->mpImeStatus;
pSVData->mpImeStatus = NULL;
- #if OSL_DEBUG_LEVEL > 0
+#if OSL_DEBUG_LEVEL > 0
OStringBuffer aBuf( 256 );
aBuf.append( "DeInitVCL: some top Windows are still alive\n" );
long nTopWindowCount = Application::GetTopWindowCount();
@@ -381,7 +376,7 @@ void DeInitVCL()
}
}
DBG_ASSERT( nBadTopWindows==0, aBuf.getStr() );
- #endif
+#endif
ImplImageTreeSingletonRef()->shutDown();