summaryrefslogtreecommitdiff
path: root/accessibility
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2008-07-22 06:32:14 +0000
committerOliver Bolte <obo@openoffice.org>2008-07-22 06:32:14 +0000
commit7e2e317b9c9c8a3e9bdf44b6982b7dfe7aae21b2 (patch)
treeb1b5b5b4bcf25be80b5ede88ef4f9c81a74fbf7d /accessibility
parent8c178d4827e1d8b5a13ad68bbddd4c0fb06246ee (diff)
INTEGRATION: CWS pba11y01 (1.3.16); FILE MERGED
2008/07/14 11:10:54 pb 1.3.16.1: fix: #i37177# nameChanged() added
Diffstat (limited to 'accessibility')
-rw-r--r--accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx12
1 files changed, 11 insertions, 1 deletions
diff --git a/accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx b/accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx
index 3f2118eda64c..70a97ce6c8f6 100644
--- a/accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx
+++ b/accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: AccessibleBrowseBoxTableCell.cxx,v $
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
* This file is part of OpenOffice.org.
*
@@ -36,6 +36,7 @@
#include "accessibility/extended/AccessibleBrowseBox.hxx"
#include <tools/gen.hxx>
#include <toolkit/helper/vclunohelper.hxx>
+#include <com/sun/star/accessibility/AccessibleEventId.hpp>
namespace accessibility
{
@@ -100,6 +101,15 @@ namespace accessibility
xComponent->addEventListener(static_cast< XEventListener *> (this));
}
+ void AccessibleBrowseBoxTableCell::nameChanged( const ::rtl::OUString& rNewName, const ::rtl::OUString& rOldName )
+ {
+ implSetName( rNewName );
+ Any aOldValue, aNewValue;
+ aOldValue <<= rOldName;
+ aNewValue <<= rNewName;
+ commitEvent( AccessibleEventId::NAME_CHANGED, aOldValue, aNewValue );
+ }
+
// XInterface -------------------------------------------------------------
/** Queries for a new interface. */