diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-03-06 15:05:29 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-03-06 19:57:50 +0000 |
commit | 7f101a514827d0bc57c6626eeed99ecf26658aa9 (patch) | |
tree | 7186793cbf456bee252b77288120d5564c6760ca /lotuswordpro/inc | |
parent | 02266202e5e5a97d3c97a3d502c59db884a99901 (diff) |
no need to allocate these separately
they are all one or two words in size
Change-Id: I09a0392f8d0b067a3a8e4105568b578ef4795c58
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148341
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'lotuswordpro/inc')
-rw-r--r-- | lotuswordpro/inc/lwpfoundry.hxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lotuswordpro/inc/lwpfoundry.hxx b/lotuswordpro/inc/lwpfoundry.hxx index ebecc4b0d825..df2a71a19c90 100644 --- a/lotuswordpro/inc/lwpfoundry.hxx +++ b/lotuswordpro/inc/lwpfoundry.hxx @@ -70,7 +70,6 @@ #include <unordered_map> #include <memory> - class LwpDocument; class LwpBookMark; @@ -257,12 +256,12 @@ public: LwpObjectID * GetDefaultTextStyle() ; private: std::unique_ptr<LwpStyleManager> m_xStyleMgr; - std::unique_ptr<LwpDropcapMgr> m_xDropcapMgr; + LwpDropcapMgr m_aDropcapMgr; std::unique_ptr<LwpBulletStyleMgr> m_xBulletStyleMgr; public: LwpStyleManager* GetStyleManager() { return m_xStyleMgr.get(); } LwpBookMark* GetBookMark(LwpObjectID objMarker); - LwpDropcapMgr* GetDropcapMgr() { return m_xDropcapMgr.get(); } + LwpDropcapMgr& GetDropcapMgr() { return m_aDropcapMgr; } LwpContent* EnumContents(LwpContent* pContent); LwpSection* EnumSections(LwpSection* pSection); LwpBulletStyleMgr* GetBulletStyleMgr() { return m_xBulletStyleMgr.get(); } |