vclxaccessiblecheckbox.cxx (4d7c9de0) | vclxaccessiblecheckbox.cxx (3ea0c3d5) |
---|---|
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 --- 224 unchanged lines hidden (view full) --- 233 234::rtl::OUString VCLXAccessibleCheckBox::getAccessibleActionDescription ( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException) 235{ 236 OExternalLockGuard aGuard( this ); 237 238 if ( nIndex < 0 || nIndex >= getAccessibleActionCount() ) 239 throw IndexOutOfBoundsException(); 240 | 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 --- 224 unchanged lines hidden (view full) --- 233 234::rtl::OUString VCLXAccessibleCheckBox::getAccessibleActionDescription ( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException) 235{ 236 OExternalLockGuard aGuard( this ); 237 238 if ( nIndex < 0 || nIndex >= getAccessibleActionCount() ) 239 throw IndexOutOfBoundsException(); 240 |
241 // return ::rtl::OUString( TK_RES_STRING( RID_STR_ACC_ACTION_CLICK ) ); | |
242 if(IsChecked()) 243 return ::rtl::OUString( TK_RES_STRING( RID_STR_ACC_ACTION_UNCHECK ) ); 244 else 245 return ::rtl::OUString( TK_RES_STRING( RID_STR_ACC_ACTION_CHECK ) ); 246} 247 248// ----------------------------------------------------------------------------- 249 --- 112 unchanged lines hidden --- | 241 if(IsChecked()) 242 return ::rtl::OUString( TK_RES_STRING( RID_STR_ACC_ACTION_UNCHECK ) ); 243 else 244 return ::rtl::OUString( TK_RES_STRING( RID_STR_ACC_ACTION_CHECK ) ); 245} 246 247// ----------------------------------------------------------------------------- 248 --- 112 unchanged lines hidden --- |