From ef371319fa5f6b076d6d2edc8f252bbb94fd77f0 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 3 Jul 2020 17:20:50 +0100 Subject: return a reference instead of a pointer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ib8b9133991a9c36e737171ae6dfb6a87cc91e1ac Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97888 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- include/vcl/fmtfield.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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: -- cgit