diff options
author | Michael Stahl <Michael.Stahl@cib.de> | 2018-12-17 13:13:46 +0100 |
---|---|---|
committer | Michael Stahl <Michael.Stahl@cib.de> | 2018-12-18 17:55:29 +0100 |
commit | 1199902fc9cbf2cf51733f7bc4205d6c32d781d1 (patch) | |
tree | 975bff210ba816020db4d1dfeec2076599422123 /sw/source/ui/fldui | |
parent | 4caef398af256be5f0c2a159129b528ee3702e5c (diff) |
sw_redlinehide_4b: adapt FindAttrImpl()
* rename the only user, some UpdateFields() overload, to UpateOneField()
* restrict it to search for non-formatting hints; the FindAttrsImpl()
should be used for formatting hints instead
Change-Id: I15002610a287fcdcd76777733a277d2ce64904bc
Diffstat (limited to 'sw/source/ui/fldui')
-rw-r--r-- | sw/source/ui/fldui/DropDownFieldDialog.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/fldui/fldedt.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/fldui/inpdlg.cxx | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/fldui/DropDownFieldDialog.cxx b/sw/source/ui/fldui/DropDownFieldDialog.cxx index 5ccead9f8504..387bccc39490 100644 --- a/sw/source/ui/fldui/DropDownFieldDialog.cxx +++ b/sw/source/ui/fldui/DropDownFieldDialog.cxx @@ -96,7 +96,7 @@ void sw::DropDownFieldDialog::Apply() static_cast<SwDropDownField*>(m_pDropField->CopyField().release())); pCopy->SetPar1(sSelect); - m_rSh.SwEditShell::UpdateFields(*pCopy); + m_rSh.SwEditShell::UpdateOneField(*pCopy); m_rSh.SetUndoNoResetModified(); m_rSh.EndAllAction(); diff --git a/sw/source/ui/fldui/fldedt.cxx b/sw/source/ui/fldui/fldedt.cxx index dfbb9e08183e..8578da18e2d4 100644 --- a/sw/source/ui/fldui/fldedt.cxx +++ b/sw/source/ui/fldui/fldedt.cxx @@ -333,7 +333,7 @@ IMPL_LINK_NOARG(SwFieldEditDlg, AddressHdl, Button*, void) ScopedVclPtr<SfxAbstractDialog> pDlg(rFact.CreateSwAddressAbstractDlg(this, aSet)); if (RET_OK == pDlg->Execute()) { - pSh->UpdateFields( *pCurField ); + pSh->UpdateOneField(*pCurField); } } diff --git a/sw/source/ui/fldui/inpdlg.cxx b/sw/source/ui/fldui/inpdlg.cxx index 361d14a184a8..f2bc3de52fe2 100644 --- a/sw/source/ui/fldui/inpdlg.cxx +++ b/sw/source/ui/fldui/inpdlg.cxx @@ -133,14 +133,14 @@ void SwFieldInputDlg::Apply() else if( aTmp != pInpField->GetPar1() ) { pInpField->SetPar1(aTmp); - rSh.SwEditShell::UpdateFields(*pInpField); + rSh.SwEditShell::UpdateOneField(*pInpField); bModified = true; } } else if( aTmp != pSetField->GetPar2()) { pSetField->SetPar2(aTmp); - rSh.SwEditShell::UpdateFields(*pSetField); + rSh.SwEditShell::UpdateOneField(*pSetField); bModified = true; } |