Kaydet (Commit) 959ee1ab authored tarafından Vladimir Glazounov's avatar Vladimir Glazounov

INTEGRATION: CWS uaa02 (1.25.8); FILE MERGED

2003/04/17 17:19:57 mt 1.25.8.2: RESYNC: (1.25-1.26); FILE MERGED
2003/04/11 16:58:16 mt 1.25.8.1: #108656# Moved accessibility from drafts to final
üst 13ead480
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: edit.cxx,v $ * $RCSfile: edit.cxx,v $
* *
* $Revision: 1.27 $ * $Revision: 1.28 $
* *
* last change: $Author: rt $ $Date: 2003-04-24 14:07:41 $ * last change: $Author: vg $ $Date: 2003-04-24 17:29:52 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -61,17 +61,17 @@ ...@@ -61,17 +61,17 @@
#pragma hdrstop #pragma hdrstop
#ifndef _DRAFTS_COM_SUN_STAR_ACCESSIBILITY_XACCESSIBLE_HPP_ #ifndef _COM_SUN_STAR_ACCESSIBILITY_XACCESSIBLE_HPP_
#include <drafts/com/sun/star/accessibility/XAccessible.hpp> #include <com/sun/star/accessibility/XAccessible.hpp>
#endif #endif
#ifndef _DRAFTS_COM_SUN_STAR_ACCESSIBILITY_ACCESSIBLEEVENTOBJECT_HPP_ #ifndef _COM_SUN_STAR_ACCESSIBILITY_ACCESSIBLEEVENTOBJECT_HPP_
#include <drafts/com/sun/star/accessibility/AccessibleEventObject.hpp> #include <com/sun/star/accessibility/AccessibleEventObject.hpp>
#endif #endif
#ifndef _DRAFTS_COM_SUN_STAR_ACCESSIBILITY_ACCESSIBLEEVENTID_HPP_ #ifndef _COM_SUN_STAR_ACCESSIBILITY_ACCESSIBLEEVENTID_HPP_
#include <drafts/com/sun/star/accessibility/AccessibleEventId.hpp> #include <com/sun/star/accessibility/AccessibleEventId.hpp>
#endif #endif
#ifndef _DRAFTS_COM_SUN_STAR_ACCESSIBILITY_ACCESSIBLESTATETYPE_HPP_ #ifndef _COM_SUN_STAR_ACCESSIBILITY_ACCESSIBLESTATETYPE_HPP_
#include <drafts/com/sun/star/accessibility/AccessibleStateType.hpp> #include <com/sun/star/accessibility/AccessibleStateType.hpp>
#endif #endif
#ifndef _TOOLKIT_HELPER_VCLUNOHELPER_HXX_ #ifndef _TOOLKIT_HELPER_VCLUNOHELPER_HXX_
...@@ -143,7 +143,7 @@ ...@@ -143,7 +143,7 @@
#define SPLITTERWIDTH 2 #define SPLITTERWIDTH 2
using namespace drafts::com::sun::star::accessibility; using namespace com::sun::star::accessibility;
using namespace com::sun::star; using namespace com::sun::star;
using namespace com::sun::star::uno; using namespace com::sun::star::uno;
...@@ -693,7 +693,7 @@ void SmEditWindow::GetFocus() ...@@ -693,7 +693,7 @@ void SmEditWindow::GetFocus()
if (xAccessible.is()) if (xAccessible.is())
{ {
// Note: will implicitly send the AccessibleStateType::FOCUSED event // Note: will implicitly send the AccessibleStateType::FOCUSED event
accessibility::AccessibleTextHelper *pHelper = pAccessible->GetTextHelper(); ::accessibility::AccessibleTextHelper *pHelper = pAccessible->GetTextHelper();
if (pHelper) if (pHelper)
pHelper->SetFocus( sal_True ); pHelper->SetFocus( sal_True );
} }
...@@ -717,7 +717,7 @@ void SmEditWindow::LoseFocus() ...@@ -717,7 +717,7 @@ void SmEditWindow::LoseFocus()
if (xAccessible.is()) if (xAccessible.is())
{ {
// Note: will implicitly send the AccessibleStateType::FOCUSED event // Note: will implicitly send the AccessibleStateType::FOCUSED event
accessibility::AccessibleTextHelper *pHelper = pAccessible->GetTextHelper(); ::accessibility::AccessibleTextHelper *pHelper = pAccessible->GetTextHelper();
if (pHelper) if (pHelper)
pHelper->SetFocus( sal_False ); pHelper->SetFocus( sal_False );
} }
......
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