summaryrefslogtreecommitdiff
path: root/sw/source/ui/index
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-02-13 22:49:04 +0100
committerMichael Stahl <mstahl@redhat.com>2013-02-13 22:49:04 +0100
commitd1ea9ef689390ac6098e30105f1956f255799a1d (patch)
treeee2f14306e227fd835c8b6c115e803044d9ac9d2 /sw/source/ui/index
parent9a8281f05871b86bac15c54bcee01f3c40f7ee0d (diff)
SwIndexMarkPane::UpdateDialog: should use && instead of &
Change-Id: I6c03ed4acba570b8ff222a59aae95444f50c536b
Diffstat (limited to 'sw/source/ui/index')
-rw-r--r--sw/source/ui/index/swuiidxmrk.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/index/swuiidxmrk.cxx b/sw/source/ui/index/swuiidxmrk.cxx
index 1766632a8daf..7339ae7933be 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;
}