accessibleiconchoicectrlentry.cxx (0841af79) | accessibleiconchoicectrlentry.cxx (21075d77) |
---|---|
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 --- 337 unchanged lines hidden (view full) --- 346 { 347 ::osl::MutexGuard aGuard( m_aMutex ); 348 349 return m_nIndex; 350 } 351 // ----------------------------------------------------------------------------- 352 sal_Int16 SAL_CALL AccessibleIconChoiceCtrlEntry::getAccessibleRole( ) throw (RuntimeException) 353 { | 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 --- 337 unchanged lines hidden (view full) --- 346 { 347 ::osl::MutexGuard aGuard( m_aMutex ); 348 349 return m_nIndex; 350 } 351 // ----------------------------------------------------------------------------- 352 sal_Int16 SAL_CALL AccessibleIconChoiceCtrlEntry::getAccessibleRole( ) throw (RuntimeException) 353 { |
354 return AccessibleRole::LABEL; | 354 //return AccessibleRole::LABEL; 355 return AccessibleRole::LIST_ITEM; |
355 } 356 // ----------------------------------------------------------------------------- 357 ::rtl::OUString SAL_CALL AccessibleIconChoiceCtrlEntry::getAccessibleDescription( ) throw (RuntimeException) 358 { 359 // no description for every item 360 return ::rtl::OUString(); 361 } 362 // ----------------------------------------------------------------------------- --- 390 unchanged lines hidden --- | 356 } 357 // ----------------------------------------------------------------------------- 358 ::rtl::OUString SAL_CALL AccessibleIconChoiceCtrlEntry::getAccessibleDescription( ) throw (RuntimeException) 359 { 360 // no description for every item 361 return ::rtl::OUString(); 362 } 363 // ----------------------------------------------------------------------------- --- 390 unchanged lines hidden --- |