summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorOcke Janssen <oj@openoffice.org>2002-08-08 10:43:35 +0000
committerOcke Janssen <oj@openoffice.org>2002-08-08 10:43:35 +0000
commit254dc754ed1575db38e8413080e8a4f5d3919569 (patch)
treec116606ae7ab6fb3bae49ebe9ecd895ed11dacc1 /svtools
parent54cd353cef063945b0200ef0ec3ee3e6de3e5021 (diff)
#102008# only send a ACCESSIBLE_ACTIVE_DESCENDANT_EVENT event when we have the focus
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/brwbox/brwbox1.cxx6
-rw-r--r--svtools/source/brwbox/editbrowsebox.cxx11
2 files changed, 11 insertions, 6 deletions
diff --git a/svtools/source/brwbox/brwbox1.cxx b/svtools/source/brwbox/brwbox1.cxx
index 2083f136172b..75d2ca32f7b0 100644
--- a/svtools/source/brwbox/brwbox1.cxx
+++ b/svtools/source/brwbox/brwbox1.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: brwbox1.cxx,v $
*
- * $Revision: 1.18 $
+ * $Revision: 1.19 $
*
- * last change: $Author: oj $ $Date: 2002-07-09 13:32:35 $
+ * last change: $Author: oj $ $Date: 2002-08-08 11:43:35 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -2637,7 +2637,7 @@ void BrowseBox::CursorMoved()
// before implementing more here, please adjust the EditBrowseBox
DBG_CHKTHIS(BrowseBox,BrowseBoxCheckInvariants);
- if ( m_pImpl->m_pAccessible )
+ if ( m_pImpl->m_pAccessible && HasFocus() )
commitTableEvent(ACCESSIBLE_ACTIVE_DESCENDANT_EVENT,
com::sun::star::uno::makeAny(CreateAccessibleCell(GetCurRow(),GetCurColumnId())),
com::sun::star::uno::Any());
diff --git a/svtools/source/brwbox/editbrowsebox.cxx b/svtools/source/brwbox/editbrowsebox.cxx
index 30b24600bb71..b0b759028c9c 100644
--- a/svtools/source/brwbox/editbrowsebox.cxx
+++ b/svtools/source/brwbox/editbrowsebox.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: editbrowsebox.cxx,v $
*
- * $Revision: 1.13 $
+ * $Revision: 1.14 $
*
- * last change: $Author: bm $ $Date: 2002-07-26 07:44:24 $
+ * last change: $Author: oj $ $Date: 2002-08-08 11:43:35 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1047,7 +1047,7 @@ namespace svt
AsynchGetFocus();
}
}
- else if ( isAccessibleCreated() )
+ else if ( isAccessibleCreated() && HasFocus() )
commitTableEvent(ACCESSIBLE_ACTIVE_DESCENDANT_EVENT,
com::sun::star::uno::makeAny(CreateAccessibleCell(nRow,nCol)),
com::sun::star::uno::Any());
@@ -1501,6 +1501,11 @@ namespace svt
/*************************************************************************
* history:
* $Log: not supported by cvs2svn $
+ * Revision 1.13 2002/07/26 07:44:24 bm
+ * #101228# new browser flag EBBF_HANDLE_COLUMN_TEXT for displaying text in column
+ * 0 in the handle column (like in the normal browse-box).
+ * EBBF_NOROWPICTURE => EBBF_NO_HANDLE_COLUMN_CONTENT to reduce confusion now
+ *
* Revision 1.12 2002/06/21 14:04:32 oj
* #99812# new helper method used to know if accessible object was already created
*