summaryrefslogtreecommitdiff
path: root/accessibility/source/standard/vclxaccessiblemenu.cxx
diff options
context:
space:
mode:
authorSteve Yin <steve_y@apache.org>2013-11-25 15:24:55 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-11-26 10:24:24 +0000
commitefb23f29983f87104a684e7fab00b84fc59d131d (patch)
tree94b5b8fc13aa53a017b4435d0e47fc8e845bee62 /accessibility/source/standard/vclxaccessiblemenu.cxx
parent1d648282596ec06fdfd111e29c8328c1f3c07500 (diff)
Integrate branch of IAccessible2
(cherry picked from commit e2f90c93c97f3cf137c348ed302c6470f398aa70) Change-Id: I44ce0d69f3e7364038b00b1ba0f0d27e60132a37 WaE: Prevent uninitialized variable warnings. (cherry picked from commit b989f4074ea70729d527b307bfbe49e01a0d3646)
Diffstat (limited to 'accessibility/source/standard/vclxaccessiblemenu.cxx')
-rw-r--r--accessibility/source/standard/vclxaccessiblemenu.cxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/accessibility/source/standard/vclxaccessiblemenu.cxx b/accessibility/source/standard/vclxaccessiblemenu.cxx
index 625a0db49416..3ccbf7c2cfe1 100644
--- a/accessibility/source/standard/vclxaccessiblemenu.cxx
+++ b/accessibility/source/standard/vclxaccessiblemenu.cxx
@@ -242,4 +242,14 @@ void VCLXAccessibleMenu::deselectAccessibleChild( sal_Int32 nChildIndex ) throw
// -----------------------------------------------------------------------------
+OUString VCLXAccessibleMenu::getAccessibleActionDescription ( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException)
+{
+ OExternalLockGuard aGuard( this );
+
+ if ( nIndex < 0 || nIndex >= getAccessibleActionCount() )
+ throw IndexOutOfBoundsException();
+
+ return OUString( );
+}
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */