popupmenucontrollerbase.cxx (d026be40) | popupmenucontrollerbase.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 --- 333 unchanged lines hidden (view full) --- 342 return aMainURL; 343} 344 345// XInitialization 346void SAL_CALL PopupMenuControllerBase::initialize( const Sequence< Any >& aArguments ) throw ( Exception, RuntimeException ) 347{ 348 osl::MutexGuard aLock( m_aMutex ); 349 | 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 --- 333 unchanged lines hidden (view full) --- 342 return aMainURL; 343} 344 345// XInitialization 346void SAL_CALL PopupMenuControllerBase::initialize( const Sequence< Any >& aArguments ) throw ( Exception, RuntimeException ) 347{ 348 osl::MutexGuard aLock( m_aMutex ); 349 |
350 sal_Bool bInitalized( m_bInitialized ); 351 if ( !bInitalized ) | 350 sal_Bool bInitialized( m_bInitialized ); 351 if ( !bInitialized ) |
352 { 353 PropertyValue aPropValue; 354 rtl::OUString aCommandURL; 355 Reference< XFrame > xFrame; 356 357 for ( int i = 0; i < aArguments.getLength(); i++ ) 358 { 359 if ( aArguments[i] >>= aPropValue ) --- 47 unchanged lines hidden --- | 352 { 353 PropertyValue aPropValue; 354 rtl::OUString aCommandURL; 355 Reference< XFrame > xFrame; 356 357 for ( int i = 0; i < aArguments.getLength(); i++ ) 358 { 359 if ( aArguments[i] >>= aPropValue ) --- 47 unchanged lines hidden --- |