fontmenucontroller.cxx (6d739b60) | fontmenucontroller.cxx (d026be40) |
---|---|
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 --- 173 unchanged lines hidden (view full) --- 182 m_xFrame, 183 aTargetURL, 184 Sequence<PropertyValue>()); 185 OSL_ENSURE(_xDispatch.is(),"FontMenuController::impl_select: No dispatch"); 186 if ( _xDispatch.is() ) 187 _xDispatch->dispatch( aTargetURL, aArgs ); 188} 189 | 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 --- 173 unchanged lines hidden (view full) --- 182 m_xFrame, 183 aTargetURL, 184 Sequence<PropertyValue>()); 185 OSL_ENSURE(_xDispatch.is(),"FontMenuController::impl_select: No dispatch"); 186 if ( _xDispatch.is() ) 187 _xDispatch->dispatch( aTargetURL, aArgs ); 188} 189 |
190void SAL_CALL FontMenuController::activate( const css::awt::MenuEvent& ) throw (RuntimeException) | 190void SAL_CALL FontMenuController::itemActivated( const css::awt::MenuEvent& ) throw (RuntimeException) |
191{ 192 osl::MutexGuard aLock( m_aMutex ); 193 194 if ( m_xPopupMenu.is() ) 195 { 196 // find new font name and set check mark! 197 sal_uInt16 nChecked = 0; 198 sal_uInt16 nItemCount = m_xPopupMenu->getItemCount(); --- 60 unchanged lines hidden --- | 191{ 192 osl::MutexGuard aLock( m_aMutex ); 193 194 if ( m_xPopupMenu.is() ) 195 { 196 // find new font name and set check mark! 197 sal_uInt16 nChecked = 0; 198 sal_uInt16 nItemCount = m_xPopupMenu->getItemCount(); --- 60 unchanged lines hidden --- |