summaryrefslogtreecommitdiff
path: root/editeng/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-05-09 20:35:04 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-05-10 08:43:01 +0200
commit47a9ee003ceb18ba9f26d2e0035d3faf1779ab05 (patch)
tree451a086b356843632c7f73a3fc1b603ac9e38552 /editeng/inc
parent80c9e7fe5360e3262ec49e174afc3133fbdb88e0 (diff)
simplify DefItems
Change-Id: I90d5f3f77532f9e6dbbc0b2b87b5a52f4ac27ce6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115270 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'editeng/inc')
-rw-r--r--editeng/inc/eerdll2.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/editeng/inc/eerdll2.hxx b/editeng/inc/eerdll2.hxx
index 1d98ddc6d75c..76653e79c403 100644
--- a/editeng/inc/eerdll2.hxx
+++ b/editeng/inc/eerdll2.hxx
@@ -43,10 +43,10 @@ class DefItems
{
public:
DefItems();
- std::vector<SfxPoolItem*>* getDefaults() { return ppDefItems; }
+ std::vector<SfxPoolItem*> & getDefaults() { return mvDefItems; }
~DefItems();
private:
- std::vector<SfxPoolItem*>* ppDefItems;
+ std::vector<SfxPoolItem*> mvDefItems;
};
class GlobalEditData