diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2023-04-22 20:51:13 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2023-04-25 20:38:16 +0200 |
commit | 5cde4f2781fc80ed32aac2ad9c81cadab80860e8 (patch) | |
tree | 8700ccdb973fae5f75cd647bfef64892c34fb286 /include/sfx2/tabdlg.hxx | |
parent | 5f6d27711a297d1851dc6bc713fd16c44014cf5c (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 'include/sfx2/tabdlg.hxx')
-rw-r--r-- | include/sfx2/tabdlg.hxx | 41 |
1 files changed, 28 insertions, 13 deletions
diff --git a/include/sfx2/tabdlg.hxx b/include/sfx2/tabdlg.hxx index 29f2bd600fe2..bde7dee39660 100644 --- a/include/sfx2/tabdlg.hxx +++ b/include/sfx2/tabdlg.hxx @@ -188,18 +188,20 @@ friend class SfxTabDialog; friend class SfxTabDialogController; private: - const SfxItemSet* pSet; - OUString aUserString; - bool bHasExchangeSupport; + const SfxItemSet* mpSet; + OUString maUserString; + bool mbHasExchangeSupport; std::unordered_map<OUString, css::uno::Any> maAdditionalProperties; - std::unique_ptr< TabPageImpl > pImpl; + std::unique_ptr<TabPageImpl> mpImpl; protected: SfxTabPage(weld::Container* pPage, weld::DialogController* pController, const OUString& rUIXMLDescription, const OUString& rID, const SfxItemSet *rAttrSet); sal_uInt16 GetWhich( sal_uInt16 nSlot, bool bDeep = true ) const - { return pSet->GetPool()->GetWhich( nSlot, bDeep ); } + { + return mpSet->GetPool()->GetWhich(nSlot, bDeep); + } template<class T> TypedWhichId<T> GetWhich( TypedWhichId<T> nSlot, bool bDeep = true ) const { @@ -223,23 +225,36 @@ public: m_xContainer->set_visible(bVisible); } - const SfxItemSet& GetItemSet() const { return *pSet; } + const SfxItemSet& GetItemSet() const + { + return *mpSet; + } virtual bool FillItemSet( SfxItemSet* ); virtual void Reset( const SfxItemSet* ); // Allows to postpone some initialization to the first activation virtual bool DeferResetToFirstActivation(); - bool HasExchangeSupport() const - { return bHasExchangeSupport; } - void SetExchangeSupport() - { bHasExchangeSupport = true; } + bool HasExchangeSupport() const + { + return mbHasExchangeSupport; + } + + void SetExchangeSupport() + { + mbHasExchangeSupport = true; + } virtual void ActivatePage( const SfxItemSet& ); virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ); - void SetUserData(const OUString& rString) - { aUserString = rString; } - const OUString& GetUserData() const { return aUserString; } + void SetUserData(const OUString& rString) + { + maUserString = rString; + } + const OUString& GetUserData() const + { + return maUserString; + } virtual void FillUserData(); virtual bool IsReadOnly() const; virtual void PageCreated (const SfxAllItemSet& aSet); |