Commits

Anonymous committed 3b41dcd

accfixes2: minor changes

Comments (0)

Files changed (1)

editeng/source/accessibility/AccessibleEditableTextPara.cxx

     {
         DBG_CHKTHIS( AccessibleEditableTextPara, NULL );
 
-        mpEditSource = pEditSource;
-
         WeakBullet::HardRefType aChild( maImageBullet.get() );
         if( aChild.is() )
             aChild->SetEditSource(pEditSource);
 
-        if( !mpEditSource )
+        if( !pEditSource ) 
         {
             // going defunc
             UnSetState( AccessibleStateType::SHOWING );
             Dispose();
         }
 
+		mpEditSource = pEditSource; 
+
         // #108900# Init last text content
         try
         {
             !pStateSet->contains(nStateId) )
         {
             pStateSet->AddState( nStateId );
-            GotPropertyEvent( uno::makeAny( nStateId ), AccessibleEventId::STATE_CHANGED );
+//IAccessibility2 Implementation 2009-----
+		// MT: Removed method IsShapeParaFocusable which was introduced with IA2 - basically it was only about figuring out wether or not the window has the focus, should be solved differently
+		// if(IsShapeParaFocusable())
+//-----IAccessibility2 Implementation 2009
+			GotPropertyEvent( uno::makeAny( nStateId ), AccessibleEventId::STATE_CHANGED );
         }
     }