From 7d6e1eccf742664fc7487f1b73ac233e1d2674d3 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 14 Apr 2023 17:00:27 +0100 Subject: just use a reference instead of an always dereferenced pointer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I105873fc890d67b39b796864f8eae4bd12aecd26 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150425 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- include/xmloff/txtparae.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/xmloff/txtparae.hxx b/include/xmloff/txtparae.hxx index 5314a85c0cb2..36d554be2a20 100644 --- a/include/xmloff/txtparae.hxx +++ b/include/xmloff/txtparae.hxx @@ -206,7 +206,7 @@ protected: void exportPageFrames( bool bProgress ); void exportFrameFrames( bool bAutoStyles, bool bProgress, - const css::uno::Reference< css::text::XTextFrame > *pParentTxtFrame ); + const css::uno::Reference< css::text::XTextFrame >& rParentTxtFrame ); void exportNumStyles( bool bUsed ); -- cgit