[Libreoffice-commits] .: sw/source
Cédric Bosdonnat
cbosdo at kemper.freedesktop.org
Tue Jul 5 06:59:19 PDT 2011
sw/source/ui/docvw/edtwin.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 6610e1f3b32396eec8ee77795c2efc1acfe8525d
Author: Cédric Bosdonnat <cedric.bosdonnat.ooo at free.fr>
Date: Tue Jul 5 15:50:28 2011 +0200
Header/Footer: when changing the mode, don't continue to handle the click
diff --git a/sw/source/ui/docvw/edtwin.cxx b/sw/source/ui/docvw/edtwin.cxx
index 6950554..c3839fc 100644
--- a/sw/source/ui/docvw/edtwin.cxx
+++ b/sw/source/ui/docvw/edtwin.cxx
@@ -2607,9 +2607,9 @@ void SwEditWin::MouseButtonDown(const MouseEvent& _rMEvt)
( !rSh.IsHeaderFooterEdit() && bOverHdrFtr ) )
{
if ( rMEvt.GetButtons() == MOUSE_LEFT && rMEvt.GetClicks( ) == 2 )
- rSh.ToggleHeaderFooterEdit();
- else
- return;
+ rSh.ToggleHeaderFooterEdit( );
+
+ return;
}
if ( IsChainMode() )
More information about the Libreoffice-commits
mailing list