summaryrefslogtreecommitdiff
path: root/lotuswordpro/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-03-06 15:05:29 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-03-06 19:57:50 +0000
commit7f101a514827d0bc57c6626eeed99ecf26658aa9 (patch)
tree7186793cbf456bee252b77288120d5564c6760ca /lotuswordpro/inc
parent02266202e5e5a97d3c97a3d502c59db884a99901 (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.hxx5
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(); }