tabwindow.cxx (53d915a9) tabwindow.cxx (437a6594)
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

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

294 const rtl::OUString aTopWindowArgName( RTL_CONSTASCII_USTRINGPARAM( "TopWindow" ));
295 const rtl::OUString aSizeArgName( RTL_CONSTASCII_USTRINGPARAM( "Size" ));
296
297 css::awt::Size aDefaultSize( 500, 500 );
298 css::awt::Size aSize( aDefaultSize );
299
300 /* SAFE AREA ----------------------------------------------------------------------------------------------- */
301 ResetableGuard aLock( m_aLock );
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

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

294 const rtl::OUString aTopWindowArgName( RTL_CONSTASCII_USTRINGPARAM( "TopWindow" ));
295 const rtl::OUString aSizeArgName( RTL_CONSTASCII_USTRINGPARAM( "Size" ));
296
297 css::awt::Size aDefaultSize( 500, 500 );
298 css::awt::Size aSize( aDefaultSize );
299
300 /* SAFE AREA ----------------------------------------------------------------------------------------------- */
301 ResetableGuard aLock( m_aLock );
302 sal_Bool bInitalized( m_bInitialized );
302 sal_Bool bInitialized( m_bInitialized );
303 css::uno::Reference< css::lang::XMultiServiceFactory > xSMGR( m_xServiceManager );
304 aLock.unlock();
305 /* SAFE AREA ----------------------------------------------------------------------------------------------- */
306
303 css::uno::Reference< css::lang::XMultiServiceFactory > xSMGR( m_xServiceManager );
304 aLock.unlock();
305 /* SAFE AREA ----------------------------------------------------------------------------------------------- */
306
307 if ( !bInitalized )
307 if ( !bInitialized )
308 {
309 css::beans::PropertyValue aPropValue;
310 css::uno::Reference< css::awt::XTopWindow > xTopWindow;
311 css::uno::Reference< css::awt::XToolkit > xToolkit;
312 css::awt::WindowDescriptor aDescriptor;
313
314 if ( xSMGR.is() )
315 {

--- 658 unchanged lines hidden ---
308 {
309 css::beans::PropertyValue aPropValue;
310 css::uno::Reference< css::awt::XTopWindow > xTopWindow;
311 css::uno::Reference< css::awt::XToolkit > xToolkit;
312 css::awt::WindowDescriptor aDescriptor;
313
314 if ( xSMGR.is() )
315 {

--- 658 unchanged lines hidden ---