Kaydet (Commit) b9e3f0a9 authored tarafından Caolán McNamara's avatar Caolán McNamara

Resolves: tdf#92047 fix wrong merge conflict resolution

since

commit e8b97a52
Merge: 2b0be6c0 0cde74f7
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
(cherry picked from commit 76837070)
üst b3589a30
......@@ -1274,7 +1274,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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment