diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-08-27 09:16:15 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-08-27 11:45:44 +0200 |
commit | 87239e9aa6953170dbfde4dfdd6e45fb1c0fac0b (patch) | |
tree | 6f7bbdc0439d3d04977da05329d4814144110a50 /sw/source/uibase | |
parent | 5c5515fde5f464e1b3e481404893b825270afcc3 (diff) |
sw: prefix members of SwModuleOptions
Change-Id: I1312371b1e95d93b6fa3e200851f5bfbf237d256
Reviewed-on: https://gerrit.libreoffice.org/59634
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase')
-rw-r--r-- | sw/source/uibase/config/modcfg.cxx | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/sw/source/uibase/config/modcfg.cxx b/sw/source/uibase/config/modcfg.cxx index a35b1fb76afc..853d98c26999 100644 --- a/sw/source/uibase/config/modcfg.cxx +++ b/sw/source/uibase/config/modcfg.cxx @@ -75,11 +75,11 @@ const InsCaptionOpt* SwModuleOptions::GetCapOption( { bool bFound = false; for( sal_uInt16 nId = 0; nId <= GLOB_NAME_CHART && !bFound; nId++) - bFound = *pOleId == aInsertConfig.m_aGlobalNames[nId ]; + bFound = *pOleId == m_aInsertConfig.m_aGlobalNames[nId ]; if(!bFound) - return aInsertConfig.m_pOLEMiscOpt.get(); + return m_aInsertConfig.m_pOLEMiscOpt.get(); } - return aInsertConfig.m_pCapOptions->Find(eType, pOleId); + return m_aInsertConfig.m_pCapOptions->Find(eType, pOleId); } } @@ -97,17 +97,17 @@ bool SwModuleOptions::SetCapOption(bool bHTML, const InsCaptionOpt* pOpt) { bool bFound = false; for( sal_uInt16 nId = 0; nId <= GLOB_NAME_CHART; nId++) - bFound = pOpt->GetOleId() == aInsertConfig.m_aGlobalNames[nId ]; + bFound = pOpt->GetOleId() == m_aInsertConfig.m_aGlobalNames[nId ]; if(!bFound) { - if(aInsertConfig.m_pOLEMiscOpt) - *aInsertConfig.m_pOLEMiscOpt = *pOpt; + if(m_aInsertConfig.m_pOLEMiscOpt) + *m_aInsertConfig.m_pOLEMiscOpt = *pOpt; else - aInsertConfig.m_pOLEMiscOpt.reset(new InsCaptionOpt(*pOpt)); + m_aInsertConfig.m_pOLEMiscOpt.reset(new InsCaptionOpt(*pOpt)); } } - InsCaptionOptArr& rArr = *aInsertConfig.m_pCapOptions; + InsCaptionOptArr& rArr = *m_aInsertConfig.m_pCapOptions; InsCaptionOpt *pObj = rArr.Find(pOpt->GetObjType(), &pOpt->GetOleId()); if (pObj) @@ -117,7 +117,7 @@ bool SwModuleOptions::SetCapOption(bool bHTML, const InsCaptionOpt* pOpt) else rArr.Insert(new InsCaptionOpt(*pOpt)); - aInsertConfig.SetModified(); + m_aInsertConfig.SetModified(); bRet = true; } @@ -125,11 +125,11 @@ bool SwModuleOptions::SetCapOption(bool bHTML, const InsCaptionOpt* pOpt) } SwModuleOptions::SwModuleOptions() : - aInsertConfig(false), - aWebInsertConfig(true), - aTableConfig(false), - aWebTableConfig(true), - bHideFieldTips(false) + m_aInsertConfig(false), + m_aWebInsertConfig(true), + m_aTableConfig(false), + m_aWebTableConfig(true), + m_bHideFieldTips(false) { } |