summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2016-08-23 14:49:44 +0300
committerTor Lillqvist <tml@collabora.com>2016-08-23 14:59:51 +0300
commit95212d11fc82bba60f0b51256010725504dd41ce (patch)
tree6ca228093f53f6deac9170d7b4d1053e6ce31930 /cui
parentaf348f508405cf34f3dc3043c2e1bc9bf38800f2 (diff)
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
Diffstat (limited to 'cui')
-rw-r--r--cui/source/inc/cuioptgenrl.hxx4
-rw-r--r--cui/source/options/optgenrl.cxx8
2 files changed, 6 insertions, 6 deletions
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;