summaryrefslogtreecommitdiff
path: root/sw/source/ui/config/optpage.cxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2019-10-28 09:13:49 +0100
committerMiklos Vajna <vmiklos@collabora.com>2019-10-28 09:53:04 +0100
commit2d8efd1afe03a4009600e914910144b70982e98d (patch)
treed11590bc0e3e28fd97da39872d84be892be7da8a /sw/source/ui/config/optpage.cxx
parentc4d760b9edf0399955d30a0dfbe5f7b1b1ed37cb (diff)
sw: prefix members of SwTestItem
See tdf#94879 for motivation. Change-Id: Iddabca468db597791e11ff3ad4be68e14efc6680 Reviewed-on: https://gerrit.libreoffice.org/81583 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'sw/source/ui/config/optpage.cxx')
-rw-r--r--sw/source/ui/config/optpage.cxx40
1 files changed, 20 insertions, 20 deletions
diff --git a/sw/source/ui/config/optpage.cxx b/sw/source/ui/config/optpage.cxx
index 1126ec8d478c..7e49ff3dc2a9 100644
--- a/sw/source/ui/config/optpage.cxx
+++ b/sw/source/ui/config/optpage.cxx
@@ -2170,16 +2170,16 @@ bool SwTestTabPage::FillItemSet( SfxItemSet* rCoreSet )
if ( bAttrModified )
{
SwTestItem aTestItem;
- aTestItem.bTest1=m_xTest1CBox->get_active();
- aTestItem.bTest2=m_xTest2CBox->get_active();
- aTestItem.bTest3=m_xTest3CBox->get_active();
- aTestItem.bTest4=m_xTest4CBox->get_active();
- aTestItem.bTest5=m_xTest5CBox->get_active();
- aTestItem.bTest6=m_xTest6CBox->get_active();
- aTestItem.bTest7=m_xTest7CBox->get_active();
- aTestItem.bTest8=m_xTest8CBox->get_active();
- aTestItem.bTest9=m_xTest9CBox->get_active();
- aTestItem.bTest10=m_xTest10CBox->get_active();
+ aTestItem.m_bTest1=m_xTest1CBox->get_active();
+ aTestItem.m_bTest2=m_xTest2CBox->get_active();
+ aTestItem.m_bTest3=m_xTest3CBox->get_active();
+ aTestItem.m_bTest4=m_xTest4CBox->get_active();
+ aTestItem.m_bTest5=m_xTest5CBox->get_active();
+ aTestItem.m_bTest6=m_xTest6CBox->get_active();
+ aTestItem.m_bTest7=m_xTest7CBox->get_active();
+ aTestItem.m_bTest8=m_xTest8CBox->get_active();
+ aTestItem.m_bTest9=m_xTest9CBox->get_active();
+ aTestItem.m_bTest10=m_xTest10CBox->get_active();
rCoreSet->Put(aTestItem);
}
return bAttrModified;
@@ -2193,16 +2193,16 @@ void SwTestTabPage::Reset( const SfxItemSet* )
if( SfxItemState::SET == rSet.GetItemState( FN_PARAM_SWTEST , false,
reinterpret_cast<const SfxPoolItem**>(&pTestAttr) ))
{
- m_xTest1CBox->set_active(pTestAttr->bTest1);
- m_xTest2CBox->set_active(pTestAttr->bTest2);
- m_xTest3CBox->set_active(pTestAttr->bTest3);
- m_xTest4CBox->set_active(pTestAttr->bTest4);
- m_xTest5CBox->set_active(pTestAttr->bTest5);
- m_xTest6CBox->set_active(pTestAttr->bTest6);
- m_xTest7CBox->set_active(pTestAttr->bTest7);
- m_xTest8CBox->set_active(pTestAttr->bTest8);
- m_xTest9CBox->set_active(pTestAttr->bTest9);
- m_xTest10CBox->set_active(pTestAttr->bTest10);
+ m_xTest1CBox->set_active(pTestAttr->m_bTest1);
+ m_xTest2CBox->set_active(pTestAttr->m_bTest2);
+ m_xTest3CBox->set_active(pTestAttr->m_bTest3);
+ m_xTest4CBox->set_active(pTestAttr->m_bTest4);
+ m_xTest5CBox->set_active(pTestAttr->m_bTest5);
+ m_xTest6CBox->set_active(pTestAttr->m_bTest6);
+ m_xTest7CBox->set_active(pTestAttr->m_bTest7);
+ m_xTest8CBox->set_active(pTestAttr->m_bTest8);
+ m_xTest9CBox->set_active(pTestAttr->m_bTest9);
+ m_xTest10CBox->set_active(pTestAttr->m_bTest10);
}
}