diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2022-09-05 08:21:29 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2022-09-05 09:04:42 +0200 |
commit | dcd08af1808d7984f32d4156c06e4d6c6c25560e (patch) | |
tree | 7f67b37326990dc3e0a057f7fd87e16657fa9388 /sw/source/ui/fldui | |
parent | 08b923efcb22bae08c799ccc654797076468fa83 (diff) |
sw: prefix members of SwChangeDBDlg, SwEditRegionDlg, SwLabFormatPage ...
... and SwLabPage
See tdf#94879 for motivation.
Change-Id: Ic3208b78883e4926bd7bde836b1cf4b51c8a02e8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139396
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'sw/source/ui/fldui')
-rw-r--r-- | sw/source/ui/fldui/changedb.cxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/sw/source/ui/fldui/changedb.cxx b/sw/source/ui/fldui/changedb.cxx index 1fa9e140f712..5c004207c36c 100644 --- a/sw/source/ui/fldui/changedb.cxx +++ b/sw/source/ui/fldui/changedb.cxx @@ -44,7 +44,7 @@ using namespace ::com::sun::star::uno; SwChangeDBDlg::SwChangeDBDlg(SwView const & rVw) : SfxDialogController(rVw.GetViewFrame()->GetFrameWeld(), "modules/swriter/ui/exchangedatabases.ui", "ExchangeDatabasesDialog") - , pSh(rVw.GetWrtShellPtr()) + , m_pSh(rVw.GetWrtShellPtr()) , m_xUsedDBTLB(m_xBuilder->weld_tree_view("inuselb")) , m_xAvailDBTLB(new SwDBTreeList(m_xBuilder->weld_tree_view("availablelb"))) , m_xAddDBPB(m_xBuilder->weld_button("browse")) @@ -56,10 +56,10 @@ SwChangeDBDlg::SwChangeDBDlg(SwView const & rVw) m_xUsedDBTLB->set_size_request(nWidth, nHeight); m_xAvailDBTLB->set_size_request(nWidth, nHeight); - m_xAvailDBTLB->SetWrtShell(*pSh); + m_xAvailDBTLB->SetWrtShell(*m_pSh); FillDBPopup(); - ShowDBName(pSh->GetDBData()); + ShowDBName(m_pSh->GetDBData()); m_xDefineBT->connect_clicked(LINK(this, SwChangeDBDlg, ButtonHdl)); m_xAddDBPB->connect_clicked(LINK(this, SwChangeDBDlg, AddDBHdl)); @@ -78,7 +78,7 @@ void SwChangeDBDlg::FillDBPopup() { Reference< XComponentContext > xContext( ::comphelper::getProcessComponentContext() ); Reference<XDatabaseContext> xDBContext = DatabaseContext::create(xContext); - const SwDBData& rDBData = pSh->GetDBData(); + const SwDBData& rDBData = m_pSh->GetDBData(); m_xAvailDBTLB->Select(rDBData.sDataSource, rDBData.sCommand, u""); TreeSelect(); @@ -86,7 +86,7 @@ void SwChangeDBDlg::FillDBPopup() auto aAllDBNames = comphelper::sequenceToContainer<std::vector<OUString>>(aDBNames); std::vector<OUString> aDBNameList; - pSh->GetAllUsedDB( aDBNameList, &aAllDBNames ); + m_pSh->GetAllUsedDB( aDBNameList, &aAllDBNames ); size_t nCount = aDBNameList.size(); m_xUsedDBTLB->clear(); @@ -183,7 +183,7 @@ void SwChangeDBDlg::UpdateFields() return false; }); - pSh->StartAllAction(); + m_pSh->StartAllAction(); OUString sTableName; OUString sColumnName; sal_Bool bIsTable = false; @@ -195,8 +195,8 @@ void SwChangeDBDlg::UpdateFields() + OUString::number(bIsTable ? CommandType::TABLE : CommandType::QUERY); - pSh->ChangeDBFields( aDBNames, sTemp); - pSh->EndAllAction(); + m_pSh->ChangeDBFields( aDBNames, sTemp); + m_pSh->EndAllAction(); } IMPL_LINK_NOARG(SwChangeDBDlg, ButtonHdl, weld::Button&, void) @@ -208,8 +208,8 @@ IMPL_LINK_NOARG(SwChangeDBDlg, ButtonHdl, weld::Button&, void) aData.sDataSource = m_xAvailDBTLB->GetDBName(sTableName, sColumnName, &bIsTable); aData.sCommand = sTableName; aData.nCommandType = bIsTable ? 0 : 1; - pSh->ChgDBData(aData); - ShowDBName(pSh->GetDBData()); + m_pSh->ChgDBData(aData); + ShowDBName(m_pSh->GetDBData()); m_xDialog->response(RET_OK); } |