diff options
Diffstat (limited to 'sw/source/ui/fldui/fldfunc.cxx')
-rw-r--r-- | sw/source/ui/fldui/fldfunc.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sw/source/ui/fldui/fldfunc.cxx b/sw/source/ui/fldui/fldfunc.cxx index 017a4d19c6aa..2ebd15ffa7fc 100644 --- a/sw/source/ui/fldui/fldfunc.cxx +++ b/sw/source/ui/fldui/fldfunc.cxx @@ -35,8 +35,8 @@ using namespace ::com::sun::star; SwFieldFuncPage::SwFieldFuncPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet *const pCoreSet) : SwFieldPage(pPage, pController, "modules/swriter/ui/fldfuncpage.ui", "FieldFuncPage", pCoreSet) - , nOldFormat(0) - , bDropDownLBChanged(false) + , m_nOldFormat(0) + , m_bDropDownLBChanged(false) , m_xTypeLB(m_xBuilder->weld_tree_view("type")) , m_xSelectionLB(m_xBuilder->weld_tree_view("select")) , m_xFormat(m_xBuilder->weld_widget("formatframe")) @@ -177,7 +177,7 @@ void SwFieldFuncPage::Reset(const SfxItemSet* ) m_xValueED->save_value(); m_xCond1ED->save_value(); m_xCond2ED->save_value(); - nOldFormat = GetCurField()->GetFormat(); + m_nOldFormat = GetCurField()->GetFormat(); } } @@ -264,7 +264,7 @@ IMPL_LINK_NOARG(SwFieldFuncPage, TypeHdl, weld::TreeView&, void) m_xListItemsLB->select_text(pDrop->GetSelectedItem()); m_xListNameED->set_text(pDrop->GetPar2()); m_xListNameED->save_value(); - bDropDownLBChanged = false; + m_bDropDownLBChanged = false; } else { @@ -449,7 +449,7 @@ void SwFieldFuncPage::ListModifyHdl(const weld::Widget* pControl) } } } - bDropDownLBChanged = true; + m_bDropDownLBChanged = true; ListEnableHdl(*m_xListItemED); } @@ -566,8 +566,8 @@ bool SwFieldFuncPage::FillItemSet(SfxItemSet* ) m_xCond1ED->get_value_changed_from_saved() || m_xCond2ED->get_value_changed_from_saved() || m_xListNameED->get_value_changed_from_saved() || - bDropDownLBChanged || - nOldFormat != nFormat) + m_bDropDownLBChanged || + m_nOldFormat != nFormat) { InsertField( nTypeId, nSubType, aName, aVal, nFormat ); } |