summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-07-03 17:20:50 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-07-05 16:44:27 +0200
commitef371319fa5f6b076d6d2edc8f252bbb94fd77f0 (patch)
treeea3b16b17962492bc70496e53e6096cd4a5ccbf8 /include
parent95cfa85395f983df3ba044192b29ce0bbc5e6085 (diff)
return a reference instead of a pointer
Change-Id: Ib8b9133991a9c36e737171ae6dfb6a87cc91e1ac Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97888 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/fmtfield.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/fmtfield.hxx b/include/vcl/fmtfield.hxx
index 1d92a1b957b4..c1b8adc73c80 100644
--- a/include/vcl/fmtfield.hxx
+++ b/include/vcl/fmtfield.hxx
@@ -47,7 +47,7 @@ public:
virtual FactoryFunction GetUITestFactory() const override;
- Formatter* GetFormatter();
+ Formatter& GetFormatter();
void SetFormatter(Formatter* pFormatter);
protected: