summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>2011-09-15 11:37:38 +0200
committerCédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>2011-09-15 18:13:23 +0200
commit254b17ba2a143752b11efca26607e8c044604068 (patch)
tree0974a0e547b3368cfa1e334a11b53215304a2b83 /sw
parent87891c1c8bb82904fd68c523cb1aa11ddcfaaa3d (diff)
Header/Footer: don't show the separators if mouse isn't over SwEditWin
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/docvw/edtwin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/docvw/edtwin.cxx b/sw/source/ui/docvw/edtwin.cxx
index 8b1ccca3cd97..41d77615a784 100644
--- a/sw/source/ui/docvw/edtwin.cxx
+++ b/sw/source/ui/docvw/edtwin.cxx
@@ -5405,7 +5405,7 @@ IMPL_LINK( SwEditWin, KeyInputTimerHandler, Timer *, EMPTYARG )
IMPL_LINK( SwEditWin, OverHeaderFooterHandler, Timer *, EMPTYARG )
{
- if ( !GetView().GetWrtShell().IsHeaderFooterEdit() )
+ if ( !GetView().GetWrtShell().IsHeaderFooterEdit() && IsMouseOver() )
{
// Toggle the Header/Footer separator
sal_Bool bShown = GetView().GetWrtShell().IsShowHeaderFooterSeparator( );