diff options
author | Cédric Bosdonnat <cedric.bosdonnat.ooo@free.fr> | 2012-01-05 16:59:22 +0100 |
---|---|---|
committer | Cédric Bosdonnat <cedric.bosdonnat.ooo@free.fr> | 2012-01-05 17:00:55 +0100 |
commit | b7d6bff10a85986e5e6ebfa961f29fa8b3815b40 (patch) | |
tree | 3566a0c9694f6eb217246e53fc642451f63f18eb | |
parent | c5b502664156db0b252c26054eb1047aec469175 (diff) |
Header/Footer: fix some bad indicators updates due to wrong call order
-rw-r--r-- | sw/source/core/crsr/crsrsh.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/crsr/crsrsh.cxx b/sw/source/core/crsr/crsrsh.cxx index 049a86762021..36fe86d4f4b1 100644 --- a/sw/source/core/crsr/crsrsh.cxx +++ b/sw/source/core/crsr/crsrsh.cxx @@ -1315,22 +1315,22 @@ void SwCrsrShell::UpdateCrsr( sal_uInt16 eFlags, sal_Bool bIdleEnd ) return; // wenn nicht, dann kein Update !! } - if ( IsInHeaderFooter() != IsHeaderFooterEdit() ) - ToggleHeaderFooterEdit(); sal_Bool bInHeader= sal_True; if ( IsInHeaderFooter( &bInHeader ) ) { - if ( IsShowHeaderFooterSeparator( Header ) && !bInHeader ) + if ( !bInHeader ) { SetShowHeaderFooterSeparator( Footer, true ); SetShowHeaderFooterSeparator( Header, false ); } - else if ( IsShowHeaderFooterSeparator( Footer ) && bInHeader ) + else { SetShowHeaderFooterSeparator( Header, true ); SetShowHeaderFooterSeparator( Footer, false ); } } + if ( IsInHeaderFooter() != IsHeaderFooterEdit() ) + ToggleHeaderFooterEdit(); // #i27301# |