diff options
author | Philipp Hofer <philipp.hofer@protonmail.com> | 2020-11-12 13:07:21 +0100 |
---|---|---|
committer | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2020-11-19 01:37:21 +0100 |
commit | 69b12a6eb3616d15035310eeb0c3dbc7aefcb5c1 (patch) | |
tree | 85fa3dd6e742033dc0b5a04b45a1e035a4c93cbd /lotuswordpro/inc/lwpglobalmgr.hxx | |
parent | 6ceb1d0f2e23749fe03fab08ec338ba4d7782173 (diff) |
tdf#123936 Formatting files in module lotuswordpro with clang-format
Change-Id: I3110b452b6c81fb7e5c10f6ba98ce521c51c0427
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105690
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Jenkins
Diffstat (limited to 'lotuswordpro/inc/lwpglobalmgr.hxx')
-rw-r--r-- | lotuswordpro/inc/lwpglobalmgr.hxx | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/lotuswordpro/inc/lwpglobalmgr.hxx b/lotuswordpro/inc/lwpglobalmgr.hxx index 9bfc5e3d6513..cfcea278b621 100644 --- a/lotuswordpro/inc/lwpglobalmgr.hxx +++ b/lotuswordpro/inc/lwpglobalmgr.hxx @@ -77,20 +77,22 @@ class LwpGlobalMgr { public: ~LwpGlobalMgr(); - static LwpGlobalMgr* GetInstance(LwpSvStream* pSvStream=nullptr); + static LwpGlobalMgr* GetInstance(LwpSvStream* pSvStream = nullptr); static void DeleteInstance(); - LwpObjectFactory* GetLwpObjFactory(){return m_pObjFactory.get();} - LwpBookmarkMgr* GetLwpBookmarkMgr(){return m_pBookmarkMgr.get();} - LwpChangeMgr* GetLwpChangeMgr(){return m_pChangeMgr.get();} - XFFontFactory* GetXFFontFactory(){return m_pXFFontFactory.get();} - XFStyleManager* GetXFStyleManager(){return m_pXFStyleManager.get();} + LwpObjectFactory* GetLwpObjFactory() { return m_pObjFactory.get(); } + LwpBookmarkMgr* GetLwpBookmarkMgr() { return m_pBookmarkMgr.get(); } + LwpChangeMgr* GetLwpChangeMgr() { return m_pChangeMgr.get(); } + XFFontFactory* GetXFFontFactory() { return m_pXFFontFactory.get(); } + XFStyleManager* GetXFStyleManager() { return m_pXFStyleManager.get(); } void SetEditorAttrMap(sal_uInt16 nID, LwpEditorAttr* pAttr); OUString GetEditorName(sal_uInt8 nID); XFColor GetHighlightColor(sal_uInt8 nID); + private: explicit LwpGlobalMgr(LwpSvStream* pSvStream); + private: - static std::map< sal_uInt32,LwpGlobalMgr* > m_ThreadMap; + static std::map<sal_uInt32, LwpGlobalMgr*> m_ThreadMap; std::unique_ptr<LwpObjectFactory> m_pObjFactory; std::unique_ptr<LwpBookmarkMgr> m_pBookmarkMgr; std::unique_ptr<LwpChangeMgr> m_pChangeMgr; |