app.cxx (a799cd1b) app.cxx (747164b0)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 1921 unchanged lines hidden (view full) ---

1930
1931 // Read the common configuration items for optimization purpose
1932 if ( !InitializeConfiguration() ) return;
1933
1934 //SetSplashScreenProgress(20);
1935
1936 // set static variable to enabled/disable crash reporter
1937 retrieveCrashReporterState();
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 1921 unchanged lines hidden (view full) ---

1930
1931 // Read the common configuration items for optimization purpose
1932 if ( !InitializeConfiguration() ) return;
1933
1934 //SetSplashScreenProgress(20);
1935
1936 // set static variable to enabled/disable crash reporter
1937 retrieveCrashReporterState();
1938 if ( !isCrashReporterEnabled() )
1939 {
1940 osl_setErrorReporting( sal_False );
1941 // disable stack trace feature
1942 }
1938 const bool bCrashReporterEnabled = isCrashReporterEnabled();
1939 osl_setErrorReporting( !bCrashReporterEnabled );
1943
1944 // create title string
1945 sal_Bool bCheckOk = sal_False;
1946 ::com::sun::star::lang::Locale aLocale;
1947 String aMgrName = String::CreateFromAscii( "ofa" );
1948 ResMgr* pLabelResMgr = ResMgr::SearchCreateResMgr( U2S( aMgrName ), aLocale );
1949 String aTitle = pLabelResMgr ? String( ResId( RID_APPTITLE, *pLabelResMgr ) ) : String();
1950 delete pLabelResMgr;

--- 1702 unchanged lines hidden ---
1940
1941 // create title string
1942 sal_Bool bCheckOk = sal_False;
1943 ::com::sun::star::lang::Locale aLocale;
1944 String aMgrName = String::CreateFromAscii( "ofa" );
1945 ResMgr* pLabelResMgr = ResMgr::SearchCreateResMgr( U2S( aMgrName ), aLocale );
1946 String aTitle = pLabelResMgr ? String( ResId( RID_APPTITLE, *pLabelResMgr ) ) : String();
1947 delete pLabelResMgr;

--- 1702 unchanged lines hidden ---