[Libreoffice-commits] core.git: svx/source

Caolán McNamara caolanm at redhat.com
Wed Apr 22 02:15:47 PDT 2015


 svx/source/dialog/srchdlg.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4bbbfe52f2cdbf6939a8a1c9cce749f99bc30710
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Apr 22 10:08:43 2015 +0100

    fix build, this looks like the intent here
    
    Change-Id: Ic89bb307a2e4a08badacb3c13d1f9e2c47f77850

diff --git a/svx/source/dialog/srchdlg.cxx b/svx/source/dialog/srchdlg.cxx
index 1b48ab5..b7021b6 100644
--- a/svx/source/dialog/srchdlg.cxx
+++ b/svx/source/dialog/srchdlg.cxx
@@ -780,7 +780,7 @@ void SvxSearchDialog::Init_Impl( bool bSearchPattern )
                 nModifyFlagCheck = MODIFY_CALC_NOTES;
                 break;
         }
-        if ( ( nModifyFlag & MODIFY_FORMULAS ) == 0 )
+        if ( (nModifyFlag & nModifyFlagCheck) == 0 )
             m_pCalcSearchInLB->SelectEntryPos( static_cast<sal_Int32>(pSearchItem->GetCellType()) );
 
         m_pWordBtn->SetText( aCalcStr.getToken( 0, '#' ) );


More information about the Libreoffice-commits mailing list