From 95212d11fc82bba60f0b51256010725504dd41ce Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Tue, 23 Aug 2016 14:49:44 +0300 Subject: Rename two functions that had misleading names GetAddress_Impl() and SetAddress_Impl() handled more than just addresses. So somewhat boringly, s/Address/Data. Change-Id: I56c4e5ff7a4983a7fbb04d056c64333a016164c5 --- cui/source/inc/cuioptgenrl.hxx | 4 ++-- cui/source/options/optgenrl.cxx | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'cui') diff --git a/cui/source/inc/cuioptgenrl.hxx b/cui/source/inc/cuioptgenrl.hxx index 41c9c325aeb9..0b93ebd1bd65 100644 --- a/cui/source/inc/cuioptgenrl.hxx +++ b/cui/source/inc/cuioptgenrl.hxx @@ -52,8 +52,8 @@ private: DECL_LINK_TYPED( ModifyHdl_Impl, Edit&, void ); - bool GetAddress_Impl(); - void SetAddress_Impl(); + bool GetData_Impl(); + void SetData_Impl(); void InitControls (); void SetLinks (); diff --git a/cui/source/options/optgenrl.cxx b/cui/source/options/optgenrl.cxx index c6c59f7a0adc..33b7624500e8 100644 --- a/cui/source/options/optgenrl.cxx +++ b/cui/source/options/optgenrl.cxx @@ -300,7 +300,7 @@ bool SvxGeneralTabPage::FillItemSet( SfxItemSet* ) vFields[i]->pEdit->SetText(comphelper::string::strip(vFields[i]->pEdit->GetText(), ' ')); bool bModified = false; - bModified |= GetAddress_Impl(); + bModified |= GetData_Impl(); SvtSaveOptions aSaveOpt; if ( m_pUseDataCB->IsChecked() != aSaveOpt.IsUseUserData() ) { @@ -312,7 +312,7 @@ bool SvxGeneralTabPage::FillItemSet( SfxItemSet* ) void SvxGeneralTabPage::Reset( const SfxItemSet* rSet ) { - SetAddress_Impl(); + SetData_Impl(); sal_uInt16 const nWhich = GetWhich(SID_FIELD_GRABFOCUS); @@ -369,7 +369,7 @@ IMPL_LINK_TYPED( SvxGeneralTabPage, ModifyHdl_Impl, Edit&, rEdit, void ) } -bool SvxGeneralTabPage::GetAddress_Impl() +bool SvxGeneralTabPage::GetData_Impl() { // updating SvtUserOptions aUserOpt; @@ -387,7 +387,7 @@ bool SvxGeneralTabPage::GetAddress_Impl() } -void SvxGeneralTabPage::SetAddress_Impl() +void SvxGeneralTabPage::SetData_Impl() { // updating and disabling edit boxes SvtUserOptions aUserOpt; -- cgit