From d59987b164bc32efe8f99ad49c139b4fc7ca3c2f Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 12 Dec 2019 16:57:30 +0200 Subject: loplugin:expandablemethods Change-Id: I333d91ea5ce78c82e9bb107f934614efc7bfb8f7 Reviewed-on: https://gerrit.libreoffice.org/85078 Tested-by: Jenkins Reviewed-by: Noel Grandin --- xmloff/source/xforms/XFormsModelContext.cxx | 2 +- xmloff/source/xforms/XFormsModelContext.hxx | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'xmloff/source/xforms') diff --git a/xmloff/source/xforms/XFormsModelContext.cxx b/xmloff/source/xforms/XFormsModelContext.cxx index beee7e080bd0..e846e54b5866 100644 --- a/xmloff/source/xforms/XFormsModelContext.cxx +++ b/xmloff/source/xforms/XFormsModelContext.cxx @@ -129,7 +129,7 @@ void XFormsModelContext::EndElement() xUpdate->update(); GetImport().initXForms(); - xforms_addXFormsModel( GetImport().GetModel(), getModel() ); + xforms_addXFormsModel( GetImport().GetModel(), mxModel ); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/xforms/XFormsModelContext.hxx b/xmloff/source/xforms/XFormsModelContext.hxx index 2129ed53b0d4..d80b33088a7d 100644 --- a/xmloff/source/xforms/XFormsModelContext.hxx +++ b/xmloff/source/xforms/XFormsModelContext.hxx @@ -42,8 +42,6 @@ public: sal_uInt16 nPrfx, const OUString& rLName ); - const css::uno::Reference& getModel() const { return mxModel;} - // implement SvXMLImportContext & TokenContext methods: virtual void EndElement() override; -- cgit