diff options
author | Henry Castro <hcastro@collabora.com> | 2018-05-08 14:14:42 -0400 |
---|---|---|
committer | Henry Castro <hcastro@collabora.com> | 2018-05-09 13:53:20 +0200 |
commit | b6119095fa602ca62c16d4ea8ae301a031122941 (patch) | |
tree | 5c25f773b9efc823bc70e71f434364bf9eb839aa /sc/inc | |
parent | d8e90fdd90f299445509d93c905446f879bf8c73 (diff) |
sc: prefix members of ScModule
Change-Id: I1e3bc91fff084df5a02421c4298fad97dacfda59
Reviewed-on: https://gerrit.libreoffice.org/54013
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Henry Castro <hcastro@collabora.com>
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/scmod.hxx | 84 |
1 files changed, 42 insertions, 42 deletions
diff --git a/sc/inc/scmod.hxx b/sc/inc/scmod.hxx index c4ae838161f8..00b036da2ff2 100644 --- a/sc/inc/scmod.hxx +++ b/sc/inc/scmod.hxx @@ -75,34 +75,34 @@ struct ScDragData; class ScModule: public SfxModule, public SfxListener, public utl::ConfigurationListener { - Timer aIdleTimer; - Idle aSpellIdle; - ScDragData* mpDragData; - ScSelectionTransferObj* pSelTransfer; - ScMessagePool* pMessagePool; - // there is no global InputHandler anymore, each View has its own - ScInputHandler* pRefInputHandler; - ScViewCfg* pViewCfg; - ScDocCfg* pDocCfg; - ScAppCfg* pAppCfg; - ScDefaultsCfg* pDefaultsCfg; - ScFormulaCfg* pFormulaCfg; - ScInputCfg* pInputCfg; - ScPrintCfg* pPrintCfg; - ScNavipiCfg* pNavipiCfg; - ScAddInCfg* pAddInCfg; - svtools::ColorConfig* pColorConfig; - SvtAccessibilityOptions* pAccessOptions; - SvtCTLOptions* pCTLOptions; - SvtUserOptions* pUserOptions; - SfxErrorHandler* pErrorHdl; - ScFormEditData* pFormEditData; - sal_uInt16 nCurRefDlgId; - bool bIsWaterCan:1; - bool bIsInEditCommand:1; - bool bIsInExecuteDrop:1; - bool mbIsInSharedDocLoading:1; - bool mbIsInSharedDocSaving:1; + Timer m_aIdleTimer; + Idle m_aSpellIdle; + ScDragData* m_pDragData; + ScSelectionTransferObj* m_pSelTransfer; + ScMessagePool* m_pMessagePool; + // there is no global InputHandler anymore, each View has it's own + ScInputHandler* m_pRefInputHandler; + ScViewCfg* m_pViewCfg; + ScDocCfg* m_pDocCfg; + ScAppCfg* m_pAppCfg; + ScDefaultsCfg* m_pDefaultsCfg; + ScFormulaCfg* m_pFormulaCfg; + ScInputCfg* m_pInputCfg; + ScPrintCfg* m_pPrintCfg; + ScNavipiCfg* m_pNavipiCfg; + ScAddInCfg* m_pAddInCfg; + svtools::ColorConfig* m_pColorConfig; + SvtAccessibilityOptions* m_pAccessOptions; + SvtCTLOptions* m_pCTLOptions; + SvtUserOptions* m_pUserOptions; + SfxErrorHandler* m_pErrorHdl; + ScFormEditData* m_pFormEditData; + sal_uInt16 m_nCurRefDlgId; + bool m_bIsWaterCan:1; + bool m_bIsInEditCommand:1; + bool m_bIsInExecuteDrop:1; + bool m_bIsInSharedDocLoading:1; + bool m_bIsInSharedDocSaving:1; std::map<sal_uInt16, std::vector<VclPtr<vcl::Window> > > m_mapRefWindow; public: @@ -133,7 +133,7 @@ public: void AnythingChanged(); // Drag & Drop: - const ScDragData& GetDragData() const { return *mpDragData;} + const ScDragData& GetDragData() const { return *m_pDragData;} void SetDragObject( ScTransferObj* pCellObj, ScDrawTransferObj* pDrawObj ); void ResetDragObject(); void SetDragLink( @@ -144,16 +144,16 @@ public: static ScDocument* GetClipDoc(); // called from document - should be removed later // X selection: - ScSelectionTransferObj* GetSelectionTransfer() const { return pSelTransfer; } + ScSelectionTransferObj* GetSelectionTransfer() const { return m_pSelTransfer; } void SetSelectionTransfer( ScSelectionTransferObj* pNew ); - void SetWaterCan( bool bNew ) { bIsWaterCan = bNew; } - bool GetIsWaterCan() const { return bIsWaterCan; } + void SetWaterCan( bool bNew ) { m_bIsWaterCan = bNew; } + bool GetIsWaterCan() const { return m_bIsWaterCan; } - void SetInEditCommand( bool bNew ) { bIsInEditCommand = bNew; } + void SetInEditCommand( bool bNew ) { m_bIsInEditCommand = bNew; } - void SetInExecuteDrop( bool bNew ) { bIsInExecuteDrop = bNew; } - bool IsInExecuteDrop() const { return bIsInExecuteDrop; } + void SetInExecuteDrop( bool bNew ) { m_bIsInExecuteDrop = bNew; } + bool IsInExecuteDrop() const { return m_bIsInExecuteDrop; } // Options: const ScViewOptions& GetViewOptions (); @@ -200,7 +200,7 @@ public: ScInputHandler* GetInputHdl( ScTabViewShell* pViewSh = nullptr, bool bUseRef = true ); void SetRefInputHdl( ScInputHandler* pNew ); - ScInputHandler* GetRefInputHdl() { return pRefInputHandler;} + ScInputHandler* GetRefInputHdl() { return m_pRefInputHandler;} void ViewShellGone(const ScTabViewShell* pViewSh); void ViewShellChanged(bool bStopEditing); @@ -215,7 +215,7 @@ public: void InitFormEditData(); void ClearFormEditData(); - ScFormEditData* GetFormEditData() { return pFormEditData; } + ScFormEditData* GetFormEditData() { return m_pFormEditData; } // input of reference: SC_DLLPUBLIC void SetRefDialog( sal_uInt16 nId, bool bVis, SfxViewFrame* pViewFrm = nullptr ); @@ -227,7 +227,7 @@ public: const ScMarkData* pMarkData = nullptr ); void AddRefEntry(); void EndReference(); - sal_uInt16 GetCurRefDlgId() const { return nCurRefDlgId; } + sal_uInt16 GetCurRefDlgId() const { return m_nCurRefDlgId; } // virtual methods for the options dialog virtual std::unique_ptr<SfxItemSet> CreateItemSet( sal_uInt16 nId ) override; @@ -235,10 +235,10 @@ public: virtual VclPtr<SfxTabPage> CreateTabPage( sal_uInt16 nId, TabPageParent pParent, const SfxItemSet& rSet ) override; virtual SfxStyleFamilies* CreateStyleFamilies() override; - void SetInSharedDocLoading( bool bNew ) { mbIsInSharedDocLoading = bNew; } - bool IsInSharedDocLoading() const { return mbIsInSharedDocLoading; } - void SetInSharedDocSaving( bool bNew ) { mbIsInSharedDocSaving = bNew; } - bool IsInSharedDocSaving() const { return mbIsInSharedDocSaving; } + void SetInSharedDocLoading( bool bNew ) { m_bIsInSharedDocLoading = bNew; } + bool IsInSharedDocLoading() const { return m_bIsInSharedDocLoading; } + void SetInSharedDocSaving( bool bNew ) { m_bIsInSharedDocSaving = bNew; } + bool IsInSharedDocSaving() const { return m_bIsInSharedDocSaving; } SC_DLLPUBLIC void RegisterRefWindow( sal_uInt16 nSlotId, vcl::Window *pWnd ); SC_DLLPUBLIC void UnregisterRefWindow( sal_uInt16 nSlotId, vcl::Window *pWnd ); |