summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2023-04-22 20:51:13 +0900
committerTomaž Vajngerl <quikee@gmail.com>2023-04-25 20:38:16 +0200
commit5cde4f2781fc80ed32aac2ad9c81cadab80860e8 (patch)
tree8700ccdb973fae5f75cd647bfef64892c34fb286 /sfx2
parent5f6d27711a297d1851dc6bc713fd16c44014cf5c (diff)
add "m" prefix to member variables - SfxTabPage
Change-Id: I482c341518948bf92f81d4f89b7e307635220150 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150974 Tested-by: Tomaž Vajngerl <quikee@gmail.com> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/dialog/tabdlg.cxx32
1 files changed, 16 insertions, 16 deletions
diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx
index ce79cfd2d676..34589ca029aa 100644
--- a/sfx2/source/dialog/tabdlg.cxx
+++ b/sfx2/source/dialog/tabdlg.cxx
@@ -126,14 +126,14 @@ static Data_Impl* Find( const SfxTabDlgData_Impl& rArr, std::u16string_view rId,
void SfxTabPage::SetFrame(const css::uno::Reference< css::frame::XFrame >& xFrame)
{
- if (pImpl)
- pImpl->mxFrame = xFrame;
+ if (mpImpl)
+ mpImpl->mxFrame = xFrame;
}
css::uno::Reference< css::frame::XFrame > SfxTabPage::GetFrame() const
{
- if (pImpl)
- return pImpl->mxFrame;
+ if (mpImpl)
+ return mpImpl->mxFrame;
return css::uno::Reference< css::frame::XFrame >();
}
@@ -141,11 +141,11 @@ SfxTabPage::SfxTabPage(weld::Container* pPage, weld::DialogController* pControll
: BuilderPage(pPage, pController, rUIXMLDescription, rID,
comphelper::LibreOfficeKit::isActive() && SfxViewShell::Current()
&& SfxViewShell::Current()->isLOKMobilePhone())
- , pSet ( rAttrSet )
- , bHasExchangeSupport ( false )
- , pImpl ( new TabPageImpl )
+ , mpSet(rAttrSet)
+ , mbHasExchangeSupport(false)
+ , mpImpl(new TabPageImpl)
{
- pImpl->mpSfxDialogController = dynamic_cast<SfxOkDialogController*>(m_pDialogController);
+ mpImpl->mpSfxDialogController = dynamic_cast<SfxOkDialogController*>(m_pDialogController);
}
SfxTabPage::~SfxTabPage()
@@ -157,7 +157,7 @@ SfxTabPage::~SfxTabPage()
xParent->move(m_xContainer.get(), nullptr);
}
m_xContainer.reset();
- pImpl.reset();
+ mpImpl.reset();
m_xBuilder.reset();
}
@@ -256,7 +256,7 @@ const SfxPoolItem* SfxTabPage::GetOldItem( const SfxItemSet& rSet,
sal_uInt16 nWh = GetWhich( nSlot, bDeep );
const SfxPoolItem* pItem = nullptr;
- if ( pImpl->mbStandard && rOldSet.GetParent() )
+ if (mpImpl->mbStandard && rOldSet.GetParent())
pItem = GetItem( *rOldSet.GetParent(), nSlot );
else if ( rSet.GetParent() &&
SfxItemState::DONTCARE == rSet.GetItemState( nWh ) )
@@ -277,13 +277,13 @@ void SfxTabPage::ChangesApplied()
void SfxTabPage::SetDialogController(SfxOkDialogController* pDialog)
{
- pImpl->mpSfxDialogController = pDialog;
- m_pDialogController = pImpl->mpSfxDialogController;
+ mpImpl->mpSfxDialogController = pDialog;
+ m_pDialogController = mpImpl->mpSfxDialogController;
}
SfxOkDialogController* SfxTabPage::GetDialogController() const
{
- return pImpl->mpSfxDialogController;
+ return mpImpl->mpSfxDialogController;
}
OUString SfxTabPage::GetHelpId() const
@@ -302,8 +302,8 @@ weld::Window* SfxTabPage::GetFrameWeld() const
const SfxItemSet* SfxTabPage::GetDialogExampleSet() const
{
- if (pImpl->mpSfxDialogController)
- return pImpl->mpSfxDialogController->GetExampleSet();
+ if (mpImpl->mpSfxDialogController)
+ return mpImpl->mpSfxDialogController->GetExampleSet();
return nullptr;
}
@@ -506,7 +506,7 @@ IMPL_LINK_NOARG(SfxTabDialogController, BaseFmtHdl, weld::Button&, void)
// Set all Items as new -> the call the current Page Reset()
assert(pDataObject->xTabPage && "the Page is gone");
pDataObject->xTabPage->Reset( &aTmpSet );
- pDataObject->xTabPage->pImpl->mbStandard = true;
+ pDataObject->xTabPage->mpImpl->mbStandard = true;
}
IMPL_LINK(SfxTabDialogController, ActivatePageHdl, const OUString&, rPage, void)