diff options
author | Vladimir Glazunov <vg@openoffice.org> | 2009-11-24 16:10:44 +0100 |
---|---|---|
committer | Vladimir Glazunov <vg@openoffice.org> | 2009-11-24 16:10:44 +0100 |
commit | 970e293c4717738e7b374054f4879d2684e424dd (patch) | |
tree | 2728bdfcf5080bead14eb79178405ccdf45fb5bd /sw/source/ui/utlui | |
parent | e5acd44bd1c12eb87836e94cb0c62cedfca74771 (diff) | |
parent | bb03977e030141b6275d7561d20788a42de30aa5 (diff) |
CWS-TOOLING: integrate CWS cmcfixes64
Diffstat (limited to 'sw/source/ui/utlui')
-rw-r--r-- | sw/source/ui/utlui/navipi.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/utlui/navipi.cxx b/sw/source/ui/utlui/navipi.cxx index 4de16c64fa..0338046bea 100644 --- a/sw/source/ui/utlui/navipi.cxx +++ b/sw/source/ui/utlui/navipi.cxx @@ -1034,8 +1034,8 @@ void SwNavigationPI::StateChanged( USHORT nSID, SfxItemState /*eState*/, aContentTree.SetActiveShell(pWrtShell); BOOL bGlobal = IsGlobalDoc(); aContentToolBox.EnableItem(FN_GLOBAL_SWITCH, bGlobal); - if(!bGlobal && IsGlobalMode() || - !IsGlobalMode() && pConfig->IsGlobalActive()) + if( (!bGlobal && IsGlobalMode()) || + (!IsGlobalMode() && pConfig->IsGlobalActive()) ) { ToggleTree(); } |