summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-29 09:42:16 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-29 09:43:35 +0100
commit76837070c7c3eae1da50ff0de5e508be285e22c7 (patch)
tree611fb2285407f69552221601cf57408f3ebbc631 /sfx2
parent5d39063581fa7a24ee18c870d2f53c2b5d58a0e8 (diff)
Resolves: tdf#92047 fix wrong merge conflict resolution
since commit e8b97a52c96df9c8e8055407b1e40ed7cb9cfc67 Merge: 2b0be6c 0cde74f Date: Tue Apr 28 11:41:31 2015 +0100 - bWaterDisabled = !(pTreeBox || aFmtLb.GetSelectionCount() <= 1); - bWaterDisabled = (pTreeBox || aFmtLb->GetSelectionCount() <= 1) ? sal_False : sal_True; ++ bWaterDisabled = pTreeBox || aFmtLb->GetSelectionCount() <= 1; Change-Id: I14d848b4527adf05eb05110b93369791134cbe6c
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/dialog/templdlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx
index 47f2e1dc6ec3..1a2dc49c3763 100644
--- a/sfx2/source/dialog/templdlg.cxx
+++ b/sfx2/source/dialog/templdlg.cxx
@@ -1271,7 +1271,7 @@ void SfxCommonTemplateDialog_Impl::SetWaterCanState(const SfxBoolItem *pItem)
if(!bWaterDisabled)
//make sure the watercan is only activated when there is (only) one selection
- bWaterDisabled = pTreeBox || aFmtLb->GetSelectionCount() <= 1;
+ bWaterDisabled = !(pTreeBox || aFmtLb->GetSelectionCount() <= 1);
if(pItem && !bWaterDisabled)
{