summaryrefslogtreecommitdiff
path: root/sw/source/core/access/accdoc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/access/accdoc.cxx')
-rw-r--r--sw/source/core/access/accdoc.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/access/accdoc.cxx b/sw/source/core/access/accdoc.cxx
index aed395800fa1..2d82015f4916 100644
--- a/sw/source/core/access/accdoc.cxx
+++ b/sw/source/core/access/accdoc.cxx
@@ -569,18 +569,18 @@ void SAL_CALL SwAccessibleDocument::notifyEvent( const ::com::sun::star::documen
{
SolarMutexGuard g;
- if ( Event.EventName.equalsAscii( "FirstPageShows" ) )
+ if ( Event.EventName == "FirstPageShows" )
{
FireStateChangedEvent( AccessibleStateType::FOCUSED,true );
}
- else if ( Event.EventName.equalsAscii( "LoadFinished" ) )
+ else if ( Event.EventName == "LoadFinished" )
{
// IA2 CWS. MT: OFFSCREEN == !SHOWING, should stay consistent
// FireStateChangedEvent( AccessibleStateType::OFFSCREEN,true );
// MT: LoadFinished => Why not SHOWING == TRUE?
FireStateChangedEvent( AccessibleStateType::SHOWING,false );
}
- else if ( Event.EventName.equalsAscii( "FormatFinished" ) )
+ else if ( Event.EventName == "FormatFinished" )
{
FireStateChangedEvent( AccessibleStateType::BUSY,false );
// FireStateChangedEvent( AccessibleStateType::OFFSCREEN,false );