diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2019-07-05 21:20:08 +0000 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2019-07-06 08:50:09 +0200 |
commit | 9419850120242db68c55f2c7183dbbe87effd4ca (patch) | |
tree | f03dffb734bfd51350df426ee91dd9f0ee01d5d3 /framework | |
parent | becf7fc770cf3b52c484b6cfec65860256b30ac7 (diff) |
Fix typo
Change-Id: I8d011f948f1e9876a5b22f921c01eab898e8256d
Reviewed-on: https://gerrit.libreoffice.org/75151
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'framework')
-rw-r--r-- | framework/source/services/frame.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/framework/source/services/frame.cxx b/framework/source/services/frame.cxx index b13aaf4720ee..5a11cc806189 100644 --- a/framework/source/services/frame.cxx +++ b/framework/source/services/frame.cxx @@ -96,8 +96,8 @@ namespace { // This enum can be used to set different active states of frames enum EActiveState { - E_INACTIVE, // I'am not a member of active path in tree and i don't have the focus. - E_ACTIVE, // I'am in the middle of an active path in tree and i don't have the focus. + E_INACTIVE, // I am not a member of active path in tree and i don't have the focus. + E_ACTIVE, // I am in the middle of an active path in tree and i don't have the focus. E_FOCUS // I have the focus now. I must a member of an active path! }; @@ -1247,7 +1247,7 @@ void SAL_CALL XFrameImpl::activate() aWriteLock.clear(); /* UNSAFE AREA --------------------------------------------------------------------------------------------- */ - // 1) If I'am not active before ... + // 1) If I am not active before... if( eState == E_INACTIVE ) { // ... do it then. @@ -1347,7 +1347,7 @@ void SAL_CALL XFrameImpl::deactivate() implts_sendFrameActionEvent( css::frame::FrameAction_FRAME_UI_DEACTIVATING ); } - // 3) If I'am active - I will be deactivated now. + // 3) If I am active - I will be deactivated now. if( eState == E_ACTIVE ) { // Set new state and send message to all listener. @@ -1358,8 +1358,8 @@ void SAL_CALL XFrameImpl::deactivate() implts_sendFrameActionEvent( css::frame::FrameAction_FRAME_DEACTIVATING ); } - // 4) If there is a path from here to my parent ... - // ... I'am on the top or in the middle of deactivated subtree and action was started here. + // 4) If there is a path from here to my parent... + // ... I am on the top or in the middle of deactivated subtree and action was started here. // I must deactivate all frames from here to top, which are members of current path. // Stop, if THESE frame not the active frame of our parent! if ( xParent.is() && xParent->getActiveFrame() == xThis ) |