sw/source/ui/docvw/edtwin.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 55ac75aab9c0368b1a46dd95d452ba37776fa44b
Author: Caolán McNamara <caol...@redhat.com>
Date:   Wed Dec 18 10:29:11 2013 +0000

    cppcheck: same expression
    
    the same comment and expression here is duplicated further down, except this
    time without the redundant repeat test
    
    Change-Id: Ife4bebf181e7a6011137beaeec2b69f5cdcfe908

diff --git a/sw/source/ui/docvw/edtwin.cxx b/sw/source/ui/docvw/edtwin.cxx
index 723602b..688edfe 100644
--- a/sw/source/ui/docvw/edtwin.cxx
+++ b/sw/source/ui/docvw/edtwin.cxx
@@ -3318,8 +3318,7 @@ void SwEditWin::MouseButtonDown(const MouseEvent& _rMEvt)
 
                         // if the cursor position was corrected or if a Fly
                         // was selected in ReadOnlyMode, no word selection.
-                        if ( !bValidCrsrPos ||
-                            (rSh.IsFrmSelected() && rSh.IsFrmSelected() ))
+                        if ( !bValidCrsrPos || rSh.IsFrmSelected() )
                             return;
 
                         SwField *pFld;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to