Kaydet (Commit) 38242118 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Improve exception message

Change-Id: I06ffe3088546d55b29d61ccfae16937d8a7ce9e8
üst 15331297
......@@ -422,7 +422,11 @@ sal_Bool SAL_CALL VCLXAccessibleBox::doAccessibleAction (sal_Int32 nIndex)
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
if (nIndex<0 || nIndex>=getAccessibleActionCount())
throw ::com::sun::star::lang::IndexOutOfBoundsException();
throw ::com::sun::star::lang::IndexOutOfBoundsException(
("VCLXAccessibleBox::doAccessibleAction: index "
+ OUString::number(nIndex) + " not among 0.."
+ OUString::number(getAccessibleActionCount())),
static_cast<OWeakObject*>(this));
if (m_aBoxType == COMBOBOX)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment