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

Michael Stahl mstahl at redhat.com
Wed Feb 13 13:51:29 PST 2013


 sw/source/ui/index/swuiidxmrk.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit d1ea9ef689390ac6098e30105f1956f255799a1d
Author: Michael Stahl <mstahl at redhat.com>
Date:   Wed Feb 13 22:49:04 2013 +0100

    SwIndexMarkPane::UpdateDialog: should use && instead of &
    
    Change-Id: I6c03ed4acba570b8ff222a59aae95444f50c536b

diff --git a/sw/source/ui/index/swuiidxmrk.cxx b/sw/source/ui/index/swuiidxmrk.cxx
index 1766632..7339ae7 100644
--- a/sw/source/ui/index/swuiidxmrk.cxx
+++ b/sw/source/ui/index/swuiidxmrk.cxx
@@ -967,10 +967,10 @@ IMPL_LINK( SwIndexMarkPane, KeyDCBModifyHdl, ComboBox *, pBox )
     bool    bKey1HasText    = (!m_pKey1DCB->GetText().isEmpty());
     bool    bKey2HasText    = (!m_pKey2DCB->GetText().isEmpty());
 
-    m_pPhoneticFT1->Enable(bKey1HasText&&bIsPhoneticReadingEnabled);
-    m_pPhoneticED1->Enable(bKey1HasText&bIsPhoneticReadingEnabled);
-    m_pPhoneticFT2->Enable(bKey2HasText&bIsPhoneticReadingEnabled);
-    m_pPhoneticED2->Enable(bKey2HasText&bIsPhoneticReadingEnabled);
+    m_pPhoneticFT1->Enable(bKey1HasText && bIsPhoneticReadingEnabled);
+    m_pPhoneticED1->Enable(bKey1HasText && bIsPhoneticReadingEnabled);
+    m_pPhoneticFT2->Enable(bKey2HasText && bIsPhoneticReadingEnabled);
+    m_pPhoneticED2->Enable(bKey2HasText && bIsPhoneticReadingEnabled);
 
     return 0;
 }


More information about the Libreoffice-commits mailing list